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 | adc101bbcd39a276c37d7ca1b20526c1016379b4 (patch) | |
tree | c93d7240fa91fdbb6664ba938ef79d37925617e5 /lib/Target/TargetInstrInfo.cpp | |
parent | f44f905196d9e83f5a8878211ed8f82634f1ed3d (diff) |
Move TargetInstrDescriptors to MachineInstrInfo.cpp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4391 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/TargetInstrInfo.cpp')
-rw-r--r-- | lib/Target/TargetInstrInfo.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Target/TargetInstrInfo.cpp b/lib/Target/TargetInstrInfo.cpp index a911116f7b..115f2c2a7c 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 |