diff options
author | Chris Lattner <sabre@nondot.org> | 2002-10-29 17:37:48 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-10-29 17:37:48 +0000 |
commit | 268d600a88b56a5e893268dd54952503460f953c (patch) | |
tree | 75c5fad3d72bd7362312daa66932027bea75a6ec | |
parent | 52ce69b8e23f9084e1eaaad7cfdecb7a56426eaf (diff) | |
download | bcm5719-llvm-268d600a88b56a5e893268dd54952503460f953c.tar.gz bcm5719-llvm-268d600a88b56a5e893268dd54952503460f953c.zip |
Move TargetInstrDescriptors to MachineInstrInfo.cpp
llvm-svn: 4391
-rw-r--r-- | llvm/lib/Target/TargetInstrInfo.cpp | 6 | ||||
-rw-r--r-- | llvm/lib/Target/TargetSchedInfo.cpp | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/llvm/lib/Target/TargetInstrInfo.cpp b/llvm/lib/Target/TargetInstrInfo.cpp index a911116f7bc..115f2c2a7c3 100644 --- a/llvm/lib/Target/TargetInstrInfo.cpp +++ b/llvm/lib/Target/TargetInstrInfo.cpp @@ -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 diff --git a/llvm/lib/Target/TargetSchedInfo.cpp b/llvm/lib/Target/TargetSchedInfo.cpp index 40e822dc14b..185f01ec9e8 100644 --- a/llvm/lib/Target/TargetSchedInfo.cpp +++ b/llvm/lib/Target/TargetSchedInfo.cpp @@ -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. |