From 033f2496c8926c63db95606fd6256eeb6274849a Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Thu, 15 Feb 2007 02:52:40 +0000 Subject: [PATCH] Should pass isKill and isDead to addRegOperand() as well. llvm-svn: 34294 --- include/llvm/CodeGen/MachineInstrBuilder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/CodeGen/MachineInstrBuilder.h b/include/llvm/CodeGen/MachineInstrBuilder.h index 44faa48f89d..1d65a4692ff 100644 --- a/include/llvm/CodeGen/MachineInstrBuilder.h +++ b/include/llvm/CodeGen/MachineInstrBuilder.h @@ -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; }