This repository was archived by the owner on Mar 28, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ class MachineInstr
189
189
}
190
190
191
191
// / Return the MI flags bitvector.
192
- uint8_t getFlags () const {
192
+ uint16_t getFlags () const {
193
193
return Flags;
194
194
}
195
195
@@ -1354,7 +1354,7 @@ class MachineInstr
1354
1354
// / Return the MIFlags which represent both MachineInstrs. This
1355
1355
// / should be used when merging two MachineInstrs into one. This routine does
1356
1356
// / not modify the MIFlags of this MachineInstr.
1357
- uint8_t mergeFlagsWith (const MachineInstr& Other) const ;
1357
+ uint16_t mergeFlagsWith (const MachineInstr& Other) const ;
1358
1358
1359
1359
// / Clear this MachineInstr's memory reference descriptor list. This resets
1360
1360
// / the memrefs to their most conservative state. This should be used only
Original file line number Diff line number Diff line change @@ -382,7 +382,7 @@ MachineInstr::mergeMemRefsWith(const MachineInstr& Other) {
382
382
return std::make_pair (MemBegin, CombinedNumMemRefs);
383
383
}
384
384
385
- uint8_t MachineInstr::mergeFlagsWith (const MachineInstr &Other) const {
385
+ uint16_t MachineInstr::mergeFlagsWith (const MachineInstr &Other) const {
386
386
// For now, the just return the union of the flags. If the flags get more
387
387
// complicated over time, we might need more logic here.
388
388
return getFlags () | Other.getFlags ();
You can’t perform that action at this time.
0 commit comments