[llvm-commits] CVS: llvm/lib/Target/MachineInstrInfo.cpp MachineSchedInfo.cpp

Chris Lattner lattner at cs.uiuc.edu
Tue Oct 29 11:38:00 PST 2002


Changes in directory llvm/lib/Target:

MachineInstrInfo.cpp updated: 1.2 -> 1.3
MachineSchedInfo.cpp updated: 1.7 -> 1.8

---
Log message:

Move TargetInstrDescriptors to MachineInstrInfo.cpp


---
Diffs of the changes:

Index: llvm/lib/Target/MachineInstrInfo.cpp
diff -u llvm/lib/Target/MachineInstrInfo.cpp:1.2 llvm/lib/Target/MachineInstrInfo.cpp:1.3
--- llvm/lib/Target/MachineInstrInfo.cpp:1.2	Tue Oct 29 09:45:18 2002
+++ llvm/lib/Target/MachineInstrInfo.cpp	Tue Oct 29 11:37:48 2002
@@ -9,6 +9,12 @@
 #include "llvm/Constant.h"
 #include "llvm/DerivedTypes.h"
 
+// External object describing the machine instructions
+// Initialized only when the TargetMachine class is created
+// and reset when that class is destroyed.
+// 
+const MachineInstrDescriptor* TargetInstrDescriptors = 0;
+
 //---------------------------------------------------------------------------
 // class MachineInstructionInfo
 //	Interface to description of machine instructions


Index: llvm/lib/Target/MachineSchedInfo.cpp
diff -u llvm/lib/Target/MachineSchedInfo.cpp:1.7 llvm/lib/Target/MachineSchedInfo.cpp:1.8
--- llvm/lib/Target/MachineSchedInfo.cpp:1.7	Sun Oct 27 22:59:43 2002
+++ llvm/lib/Target/MachineSchedInfo.cpp	Tue Oct 29 11:37:48 2002
@@ -8,12 +8,6 @@
 #include "llvm/Target/MachineSchedInfo.h"
 #include "llvm/Target/TargetMachine.h"
 
-// External object describing the machine instructions
-// Initialized only when the TargetMachine class is created
-// and reset when that class is destroyed.
-// 
-const MachineInstrDescriptor* TargetInstrDescriptors = 0;
-
 resourceId_t MachineResource::nextId = 0;
 
 // Check if fromRVec and toRVec have *any* common entries.





More information about the llvm-commits mailing list