mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-24 08:33:39 +00:00
Should pass isKill and isDead to addRegOperand() as well.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34294 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9d6565a5b1
commit
d1172cc056
@ -39,7 +39,7 @@ public:
|
||||
const
|
||||
MachineInstrBuilder &addReg(int RegNo, bool isDef = false, bool isImp = false,
|
||||
bool isKill = false, bool isDead = false) const {
|
||||
MI->addRegOperand(RegNo, isDef, isImp);
|
||||
MI->addRegOperand(RegNo, isDef, isImp, isKill, isDead);
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user