mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-19 23:29:20 +00:00
ChangeToRegister should clear IsImp bit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31772 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5e797a5b1c
commit
dbf58837c4
@ -275,13 +275,13 @@ public:
|
||||
/// ChangeToRegister - Replace this operand with a new register operand of
|
||||
/// the specified value. If an operand is known to be an register already,
|
||||
/// the setReg method should be used.
|
||||
void ChangeToRegister(unsigned Reg, bool isDef,
|
||||
bool isKill = false, bool isDead = false) {
|
||||
void ChangeToRegister(unsigned Reg, bool isDef) {
|
||||
opType = MO_Register;
|
||||
contents.RegNo = Reg;
|
||||
IsDef = isDef;
|
||||
IsKill = isKill;
|
||||
IsDead = isDead;
|
||||
IsImp = false;
|
||||
IsKill = false;
|
||||
IsDead = false;
|
||||
}
|
||||
|
||||
friend std::ostream& operator<<(std::ostream& os, const MachineOperand& mop);
|
||||
|
Loading…
x
Reference in New Issue
Block a user