diff options
| author | Chris Lattner <sabre@nondot.org> | 2006-05-04 18:16:01 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2006-05-04 18:16:01 +0000 |
| commit | 469647bf384550b6a4bb06eab9f466a15be50037 (patch) | |
| tree | ec67d75a93d6cc410287439ae40a3d87535ab35f /llvm/lib/CodeGen | |
| parent | 10b71c0d08095e256aa3ed8e088abb41087ca24e (diff) | |
| download | bcm5719-llvm-469647bf384550b6a4bb06eab9f466a15be50037.tar.gz bcm5719-llvm-469647bf384550b6a4bb06eab9f466a15be50037.zip | |
Remove and simplify some more machineinstr/machineoperand stuff.
llvm-svn: 28105
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/MachineBasicBlock.cpp | 2 | ||||
| -rw-r--r-- | llvm/lib/CodeGen/MachineInstr.cpp | 2 | ||||
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/MachineBasicBlock.cpp b/llvm/lib/CodeGen/MachineBasicBlock.cpp index 5b095196d8d..ee8da6744e3 100644 --- a/llvm/lib/CodeGen/MachineBasicBlock.cpp +++ b/llvm/lib/CodeGen/MachineBasicBlock.cpp @@ -47,7 +47,7 @@ void ilist_traits<MachineBasicBlock>::removeNodeFromList(MachineBasicBlock* N) { MachineInstr* ilist_traits<MachineInstr>::createSentinel() { - MachineInstr* dummy = new MachineInstr(0, 0, true, true); + MachineInstr* dummy = new MachineInstr(0, 0); LeakDetector::removeGarbageObject(dummy); return dummy; } diff --git a/llvm/lib/CodeGen/MachineInstr.cpp b/llvm/lib/CodeGen/MachineInstr.cpp index f2a604cf6d0..2cb5119e49d 100644 --- a/llvm/lib/CodeGen/MachineInstr.cpp +++ b/llvm/lib/CodeGen/MachineInstr.cpp @@ -41,7 +41,7 @@ namespace llvm { /// 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 diff --git a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp index cf1227964a5..f9749903a79 100644 --- a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp @@ -184,7 +184,7 @@ void ScheduleDAG::EmitNode(SDNode *Node, #endif // Create the new machine instruction. - MachineInstr *MI = new MachineInstr(Opc, NumMIOperands, true, true); + MachineInstr *MI = new MachineInstr(Opc, NumMIOperands); // Add result register values for things that are defined by this // instruction. |

