mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
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
This commit is contained in:
parent
69cacd4710
commit
975f6d4f44
@ -46,9 +46,9 @@ public:
|
|||||||
// Accessor methods
|
// Accessor methods
|
||||||
const Value* getArgVal() { return argVal; }
|
const Value* getArgVal() { return argVal; }
|
||||||
const Value* getArgCopy() { return argValCopy; }
|
const Value* getArgCopy() { return argValCopy; }
|
||||||
bool usesIntArgReg() { return (bool) passingMethod & IntArgReg; }
|
bool usesIntArgReg() { return (bool) (passingMethod & IntArgReg);}
|
||||||
bool usesFPArgReg() { return (bool) passingMethod & FPArgReg; }
|
bool usesFPArgReg() { return (bool) (passingMethod & FPArgReg); }
|
||||||
bool usesStackSlot() { return (bool) passingMethod & StackSlot; }
|
bool usesStackSlot() { return (bool) (passingMethod & StackSlot);}
|
||||||
|
|
||||||
// Modifier methods
|
// Modifier methods
|
||||||
void replaceArgVal(const Value* newVal) { argVal = newVal; }
|
void replaceArgVal(const Value* newVal) { argVal = newVal; }
|
||||||
|
@ -46,9 +46,9 @@ public:
|
|||||||
// Accessor methods
|
// Accessor methods
|
||||||
const Value* getArgVal() { return argVal; }
|
const Value* getArgVal() { return argVal; }
|
||||||
const Value* getArgCopy() { return argValCopy; }
|
const Value* getArgCopy() { return argValCopy; }
|
||||||
bool usesIntArgReg() { return (bool) passingMethod & IntArgReg; }
|
bool usesIntArgReg() { return (bool) (passingMethod & IntArgReg);}
|
||||||
bool usesFPArgReg() { return (bool) passingMethod & FPArgReg; }
|
bool usesFPArgReg() { return (bool) (passingMethod & FPArgReg); }
|
||||||
bool usesStackSlot() { return (bool) passingMethod & StackSlot; }
|
bool usesStackSlot() { return (bool) (passingMethod & StackSlot);}
|
||||||
|
|
||||||
// Modifier methods
|
// Modifier methods
|
||||||
void replaceArgVal(const Value* newVal) { argVal = newVal; }
|
void replaceArgVal(const Value* newVal) { argVal = newVal; }
|
||||||
|
Loading…
Reference in New Issue
Block a user