mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +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:
1 parent
1be114be3a
commit
b66fdc2934
2 files changed
-10
No files matched your search
@@ -349,7 +349,6 @@ class MachineInstr: public NonCopyable { // Disable copy operations
|
|||||||
bool OperandsComplete() const;
|
bool OperandsComplete() const;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
MachineInstr(MachineOpCode Opcode);
|
|
||||||
MachineInstr(MachineOpCode Opcode, unsigned numOperands);
|
MachineInstr(MachineOpCode Opcode, unsigned numOperands);
|
||||||
|
|
||||||
/// MachineInstr ctor - This constructor only does a _reserve_ of the
|
/// MachineInstr ctor - This constructor only does a _reserve_ of the
|
||||||
|
|||||||
@@ -20,15 +20,6 @@ using std::cerr;
|
|||||||
//
|
//
|
||||||
extern const TargetInstrDescriptor *TargetInstrDescriptors;
|
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
|
// Constructor for instructions with variable #operands
|
||||||
MachineInstr::MachineInstr(MachineOpCode OpCode, unsigned numOperands)
|
MachineInstr::MachineInstr(MachineOpCode OpCode, unsigned numOperands)
|
||||||
: opCode(OpCode),
|
: opCode(OpCode),
|
||||||
|
|||||||
Reference in new issue
Block a user