Remove obsolete ctor

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5301 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-01-15 19:47:02 +00:00
parent 1be114be3a
commit b66fdc2934
2 changed files with 0 additions and 10 deletions

View File

@ -349,7 +349,6 @@ class MachineInstr: public NonCopyable { // Disable copy operations
bool OperandsComplete() const;
public:
MachineInstr(MachineOpCode Opcode);
MachineInstr(MachineOpCode Opcode, unsigned numOperands);
/// MachineInstr ctor - This constructor only does a _reserve_ of the

View File

@ -20,15 +20,6 @@ using std::cerr;
//
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),