mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-25 12:50:00 +00:00
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:
parent
1be114be3a
commit
b66fdc2934
@ -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
|
||||
|
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user