summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineInstrBuilder.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-02-15 02:52:40 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-02-15 02:52:40 +0000
commitd1172cc056372f0d9cc4f70201024dd7fbf46574 (patch)
treec9323626138f096be3d36fbb06d15f168918fe86 /include/llvm/CodeGen/MachineInstrBuilder.h
parent9d6565a5b1fbc4286d6ee638d8f47a3171a9ed7e (diff)
downloadllvm-d1172cc056372f0d9cc4f70201024dd7fbf46574.tar.gz
llvm-d1172cc056372f0d9cc4f70201024dd7fbf46574.tar.bz2
llvm-d1172cc056372f0d9cc4f70201024dd7fbf46574.tar.xz
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
Diffstat (limited to 'include/llvm/CodeGen/MachineInstrBuilder.h')
-rw-r--r--include/llvm/CodeGen/MachineInstrBuilder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineInstrBuilder.h b/include/llvm/CodeGen/MachineInstrBuilder.h
index 44faa48f89..1d65a4692f 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;
}