1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Bug fix: cast (bool) has higher precedence than %... who knew!

llvm-svn: 2864
This commit is contained in:
Vikram S. Adve 2002-07-10 21:51:46 +00:00
parent 36b62ee33a
commit 8967349e85

View File

@ -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; }