summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/CodeGen/MachineInstrAnnot.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineInstrAnnot.h b/llvm/include/llvm/CodeGen/MachineInstrAnnot.h
index b16408f9a36..fa80c7297ff 100644
--- a/llvm/include/llvm/CodeGen/MachineInstrAnnot.h
+++ b/llvm/include/llvm/CodeGen/MachineInstrAnnot.h
@@ -46,9 +46,9 @@ public:
// Accessor methods
const Value* getArgVal() { return argVal; }
const Value* getArgCopy() { return argValCopy; }
- bool usesIntArgReg() { return (bool) passingMethod & IntArgReg; }
- bool usesFPArgReg() { return (bool) passingMethod & FPArgReg; }
- bool usesStackSlot() { return (bool) passingMethod & StackSlot; }
+ bool usesIntArgReg() { return (bool) (passingMethod & IntArgReg);}
+ bool usesFPArgReg() { return (bool) (passingMethod & FPArgReg); }
+ bool usesStackSlot() { return (bool) (passingMethod & StackSlot);}
// Modifier methods
void replaceArgVal(const Value* newVal) { argVal = newVal; }
OpenPOWER on IntegriCloud