[llvm-commits] CVS: llvm/lib/CodeGen/MachineBasicBlock.cpp MachineInstr.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu May 4 11:16:16 PDT 2006
Changes in directory llvm/lib/CodeGen:
MachineBasicBlock.cpp updated: 1.26 -> 1.27
MachineInstr.cpp updated: 1.119 -> 1.120
---
Log message:
Remove and simplify some more machineinstr/machineoperand stuff.
---
Diffs of the changes: (+2 -2)
MachineBasicBlock.cpp | 2 +-
MachineInstr.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/CodeGen/MachineBasicBlock.cpp
diff -u llvm/lib/CodeGen/MachineBasicBlock.cpp:1.26 llvm/lib/CodeGen/MachineBasicBlock.cpp:1.27
--- llvm/lib/CodeGen/MachineBasicBlock.cpp:1.26 Wed May 3 20:26:39 2006
+++ llvm/lib/CodeGen/MachineBasicBlock.cpp Thu May 4 13:16:01 2006
@@ -47,7 +47,7 @@
MachineInstr* ilist_traits<MachineInstr>::createSentinel() {
- MachineInstr* dummy = new MachineInstr(0, 0, true, true);
+ MachineInstr* dummy = new MachineInstr(0, 0);
LeakDetector::removeGarbageObject(dummy);
return dummy;
}
Index: llvm/lib/CodeGen/MachineInstr.cpp
diff -u llvm/lib/CodeGen/MachineInstr.cpp:1.119 llvm/lib/CodeGen/MachineInstr.cpp:1.120
--- llvm/lib/CodeGen/MachineInstr.cpp:1.119 Thu May 4 13:05:43 2006
+++ llvm/lib/CodeGen/MachineInstr.cpp Thu May 4 13:16:01 2006
@@ -41,7 +41,7 @@
/// add* methods below to fill up the operands, instead of the Set methods.
/// Eventually, the "resizing" ctors will be phased out.
///
-MachineInstr::MachineInstr(short opcode, unsigned numOperands, bool XX, bool YY)
+MachineInstr::MachineInstr(short opcode, unsigned numOperands)
: Opcode(opcode), parent(0) {
operands.reserve(numOperands);
// Make sure that we get added to a machine basicblock
More information about the llvm-commits
mailing list