[llvm-commits] CVS: llvm/include/llvm/CodeGen/MachineInstrBuilder.h
Evan Cheng
evan.cheng at apple.com
Wed Feb 14 18:52:56 PST 2007
Changes in directory llvm/include/llvm/CodeGen:
MachineInstrBuilder.h updated: 1.42 -> 1.43
---
Log message:
Should pass isKill and isDead to addRegOperand() as well.
---
Diffs of the changes: (+1 -1)
MachineInstrBuilder.h | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/include/llvm/CodeGen/MachineInstrBuilder.h
diff -u llvm/include/llvm/CodeGen/MachineInstrBuilder.h:1.42 llvm/include/llvm/CodeGen/MachineInstrBuilder.h:1.43
--- llvm/include/llvm/CodeGen/MachineInstrBuilder.h:1.42 Mon Nov 27 20:22:51 2006
+++ llvm/include/llvm/CodeGen/MachineInstrBuilder.h Wed Feb 14 20:52:40 2007
@@ -39,7 +39,7 @@
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;
}
More information about the llvm-commits
mailing list