[llvm-commits] CVS: llvm/include/llvm/Target/MachineInstrInfo.h
Chris Lattner
lattner at cs.uiuc.edu
Tue Oct 29 09:45:01 PST 2002
Changes in directory llvm/include/llvm/Target:
MachineInstrInfo.h updated: 1.28 -> 1.29
---
Log message:
MachineInstrInfo doesn't need a TargetMachine member
---
Diffs of the changes:
Index: llvm/include/llvm/Target/MachineInstrInfo.h
diff -u llvm/include/llvm/Target/MachineInstrInfo.h:1.28 llvm/include/llvm/Target/MachineInstrInfo.h:1.29
--- llvm/include/llvm/Target/MachineInstrInfo.h:1.28 Mon Oct 28 17:53:56 2002
+++ llvm/include/llvm/Target/MachineInstrInfo.h Tue Oct 29 09:44:40 2002
@@ -81,10 +81,7 @@
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 @@
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();
More information about the llvm-commits
mailing list