File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -332,9 +332,9 @@ class MachineInstr
332332 Flags |= (MachineInstrFlags_t)Flag;
333333 }
334334
335- void setFlags (unsigned flags) {
335+ void setFlags (MachineInstrFlags_t flags) {
336336 // Filter out the automatically maintained flags.
337- unsigned Mask = BundledPred | BundledSucc;
337+ MachineInstrFlags_t Mask = BundledPred | BundledSucc;
338338 Flags = (Flags & Mask) | (flags & ~Mask);
339339 }
340340
@@ -1648,7 +1648,7 @@ class MachineInstr
16481648 // / not modify the MIFlags of this MachineInstr.
16491649 MachineInstrFlags_t mergeFlagsWith (const MachineInstr& Other) const ;
16501650
1651- static uint16_t copyFlagsFromInstruction (const Instruction &I);
1651+ static MachineInstrFlags_t copyFlagsFromInstruction (const Instruction &I);
16521652
16531653 // / Copy all flags to MachineInst MIFlags
16541654 void copyIRFlags (const Instruction &I);
Original file line number Diff line number Diff line change @@ -523,8 +523,8 @@ MachineInstrFlags_t MachineInstr::mergeFlagsWith(const MachineInstr &Other) cons
523523 return getFlags () | Other.getFlags ();
524524}
525525
526- uint16_t MachineInstr::copyFlagsFromInstruction (const Instruction &I) {
527- uint16_t MIFlags = 0 ;
526+ MachineInstrFlags_t MachineInstr::copyFlagsFromInstruction (const Instruction &I) {
527+ MachineInstrFlags_t MIFlags = 0 ;
528528 // Copy the wrapping flags.
529529 if (const OverflowingBinaryOperator *OB =
530530 dyn_cast<OverflowingBinaryOperator>(&I)) {
You can’t perform that action at this time.
0 commit comments