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
332
332
Flags |= (MachineInstrFlags_t)Flag;
333
333
}
334
334
335
- void setFlags (unsigned flags) {
335
+ void setFlags (MachineInstrFlags_t flags) {
336
336
// Filter out the automatically maintained flags.
337
- unsigned Mask = BundledPred | BundledSucc;
337
+ MachineInstrFlags_t Mask = BundledPred | BundledSucc;
338
338
Flags = (Flags & Mask) | (flags & ~Mask);
339
339
}
340
340
@@ -1648,7 +1648,7 @@ class MachineInstr
1648
1648
// / not modify the MIFlags of this MachineInstr.
1649
1649
MachineInstrFlags_t mergeFlagsWith (const MachineInstr& Other) const ;
1650
1650
1651
- static uint16_t copyFlagsFromInstruction (const Instruction &I);
1651
+ static MachineInstrFlags_t copyFlagsFromInstruction (const Instruction &I);
1652
1652
1653
1653
// / Copy all flags to MachineInst MIFlags
1654
1654
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
523
523
return getFlags () | Other.getFlags ();
524
524
}
525
525
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 ;
528
528
// Copy the wrapping flags.
529
529
if (const OverflowingBinaryOperator *OB =
530
530
dyn_cast<OverflowingBinaryOperator>(&I)) {
You can’t perform that action at this time.
0 commit comments