OSDN Git Service

Should pass isKill and isDead to addRegOperand() as well.
authorEvan Cheng <evan.cheng@apple.com>
Thu, 15 Feb 2007 02:52:40 +0000 (02:52 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Thu, 15 Feb 2007 02:52:40 +0000 (02:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34294 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/MachineInstrBuilder.h

index 44faa48..1d65a46 100644 (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;
   }