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:
Evan Cheng 2007-02-15 02:52:40 +00:00
parent 9d6565a5b1
commit d1172cc056

View File

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