From adc101bbcd39a276c37d7ca1b20526c1016379b4 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 29 Oct 2002 17:37:48 +0000 Subject: [PATCH] Move TargetInstrDescriptors to MachineInstrInfo.cpp git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4391 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/TargetInstrInfo.cpp | 6 ++++++ lib/Target/TargetSchedInfo.cpp | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/Target/TargetInstrInfo.cpp b/lib/Target/TargetInstrInfo.cpp index a911116f7bc..115f2c2a7c3 100644 --- a/lib/Target/TargetInstrInfo.cpp +++ b/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/lib/Target/TargetSchedInfo.cpp b/lib/Target/TargetSchedInfo.cpp index 40e822dc14b..185f01ec9e8 100644 --- a/lib/Target/TargetSchedInfo.cpp +++ b/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.