mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
MachineInstrInfo doesn't need a TargetMachine member
llvm-svn: 4371
This commit is contained in:
parent
4ccc6efc11
commit
8869c9be36
@ -81,10 +81,7 @@ struct MachineInstrDescriptor {
|
||||
|
||||
|
||||
class MachineInstrInfo {
|
||||
public:
|
||||
const TargetMachine& target;
|
||||
|
||||
protected:
|
||||
private:
|
||||
const MachineInstrDescriptor* desc; // raw array to allow static init'n
|
||||
unsigned descSize; // number of entries in the desc array
|
||||
unsigned numRealOpCodes; // number of non-dummy op codes
|
||||
@ -92,8 +89,7 @@ protected:
|
||||
MachineInstrInfo(const MachineInstrInfo &); // DO NOT IMPLEMENT
|
||||
void operator=(const MachineInstrInfo &); // DO NOT IMPLEMENT
|
||||
public:
|
||||
MachineInstrInfo(const TargetMachine& tgt,
|
||||
const MachineInstrDescriptor *desc, unsigned descSize,
|
||||
MachineInstrInfo(const MachineInstrDescriptor *desc, unsigned descSize,
|
||||
unsigned numRealOpCodes);
|
||||
virtual ~MachineInstrInfo();
|
||||
|
||||
|
@ -81,10 +81,7 @@ struct MachineInstrDescriptor {
|
||||
|
||||
|
||||
class MachineInstrInfo {
|
||||
public:
|
||||
const TargetMachine& target;
|
||||
|
||||
protected:
|
||||
private:
|
||||
const MachineInstrDescriptor* desc; // raw array to allow static init'n
|
||||
unsigned descSize; // number of entries in the desc array
|
||||
unsigned numRealOpCodes; // number of non-dummy op codes
|
||||
@ -92,8 +89,7 @@ protected:
|
||||
MachineInstrInfo(const MachineInstrInfo &); // DO NOT IMPLEMENT
|
||||
void operator=(const MachineInstrInfo &); // DO NOT IMPLEMENT
|
||||
public:
|
||||
MachineInstrInfo(const TargetMachine& tgt,
|
||||
const MachineInstrDescriptor *desc, unsigned descSize,
|
||||
MachineInstrInfo(const MachineInstrDescriptor *desc, unsigned descSize,
|
||||
unsigned numRealOpCodes);
|
||||
virtual ~MachineInstrInfo();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user