Move TargetInstrDescriptors to MachineInstrInfo.cpp
authorChris Lattner <sabre@nondot.org>
Tue, 29 Oct 2002 17:37:48 +0000 (17:37 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 29 Oct 2002 17:37:48 +0000 (17:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4391 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/TargetInstrInfo.cpp
lib/Target/TargetSchedInfo.cpp

index a911116f7bcf673318a6e73fba714c482b311b6f..115f2c2a7c353bb06fe5c4e4eac0c06190630451 100644 (file)
@@ -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 40e822dc14b7baf4533a018e1d98958e14766042..185f01ec9e859f578cf76c334de891420dc734a0 100644 (file)
@@ -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.