diff options
author | Vikram S. Adve <vadve@cs.uiuc.edu> | 2002-07-10 21:51:46 +0000 |
---|---|---|
committer | Vikram S. Adve <vadve@cs.uiuc.edu> | 2002-07-10 21:51:46 +0000 |
commit | 975f6d4f4477a68f9b322843a1bf2ebc24214b3a (patch) | |
tree | 6e85eb30468910f6f19da80ee38380e012bea918 /lib/Target | |
parent | 69cacd471093e38a51e0e637fca1a1768b935136 (diff) | |
download | external_llvm-975f6d4f4477a68f9b322843a1bf2ebc24214b3a.zip external_llvm-975f6d4f4477a68f9b322843a1bf2ebc24214b3a.tar.gz external_llvm-975f6d4f4477a68f9b322843a1bf2ebc24214b3a.tar.bz2 |
Bug fix: cast (bool) has higher precedence than %... who knew!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2864 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r-- | lib/Target/SparcV9/MachineInstrAnnot.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/SparcV9/MachineInstrAnnot.h b/lib/Target/SparcV9/MachineInstrAnnot.h index b16408f..fa80c72 100644 --- a/lib/Target/SparcV9/MachineInstrAnnot.h +++ b/lib/Target/SparcV9/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; } |