[llvm-commits] CVS: llvm/lib/CodeGen/MachineInstr.cpp
Chris Lattner
lattner at cs.uiuc.edu
Wed Jan 15 13:48:09 PST 2003
Changes in directory llvm/lib/CodeGen:
MachineInstr.cpp updated: 1.69 -> 1.70
---
Log message:
Remove obsolete ctor
---
Diffs of the changes:
Index: llvm/lib/CodeGen/MachineInstr.cpp
diff -u llvm/lib/CodeGen/MachineInstr.cpp:1.69 llvm/lib/CodeGen/MachineInstr.cpp:1.70
--- llvm/lib/CodeGen/MachineInstr.cpp:1.69 Tue Jan 14 15:58:41 2003
+++ llvm/lib/CodeGen/MachineInstr.cpp Wed Jan 15 13:47:02 2003
@@ -20,15 +20,6 @@
//
extern const TargetInstrDescriptor *TargetInstrDescriptors;
-// Constructor for instructions with fixed #operands (nearly all)
-MachineInstr::MachineInstr(MachineOpCode _opCode)
- : opCode(_opCode),
- operands(TargetInstrDescriptors[_opCode].numOperands, MachineOperand()),
- numImplicitRefs(0)
-{
- assert(TargetInstrDescriptors[_opCode].numOperands >= 0);
-}
-
// Constructor for instructions with variable #operands
MachineInstr::MachineInstr(MachineOpCode OpCode, unsigned numOperands)
: opCode(OpCode),
More information about the llvm-commits
mailing list