diff options
author | Chris Lattner <sabre@nondot.org> | 2002-10-29 17:40:30 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-10-29 17:40:30 +0000 |
commit | f1757c414cbf7d1b7a11cc8287fd26c2ce13fb41 (patch) | |
tree | b6452793e5b0962059685ed1cda3eb81ea002c24 /include | |
parent | adc101bbcd39a276c37d7ca1b20526c1016379b4 (diff) | |
download | llvm-f1757c414cbf7d1b7a11cc8287fd26c2ce13fb41.tar.gz llvm-f1757c414cbf7d1b7a11cc8287fd26c2ce13fb41.tar.bz2 llvm-f1757c414cbf7d1b7a11cc8287fd26c2ce13fb41.tar.xz |
Move TargetInstrDescriptors extern to the one .cpp file that refers to it:
MachineInstr.cpp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4392 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Target/MachineInstrInfo.h | 10 | ||||
-rw-r--r-- | include/llvm/Target/TargetInstrInfo.h | 10 |
2 files changed, 0 insertions, 20 deletions
diff --git a/include/llvm/Target/MachineInstrInfo.h b/include/llvm/Target/MachineInstrInfo.h index 4198bedd8f..be6b812a3a 100644 --- a/include/llvm/Target/MachineInstrInfo.h +++ b/include/llvm/Target/MachineInstrInfo.h @@ -29,16 +29,6 @@ typedef unsigned InstrSchedClass; const MachineOpCode INVALID_MACHINE_OPCODE = -1; -// Global variable holding an array of descriptors for machine instructions. -// The actual object needs to be created separately for each target machine. -// This variable is initialized and reset by class MachineInstrInfo. -// -// FIXME: This should be a property of the target so that more than one target -// at a time can be active... -// -extern const MachineInstrDescriptor *TargetInstrDescriptors; - - //--------------------------------------------------------------------------- // struct MachineInstrDescriptor: // Predefined information about each machine instruction. diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h index 4198bedd8f..be6b812a3a 100644 --- a/include/llvm/Target/TargetInstrInfo.h +++ b/include/llvm/Target/TargetInstrInfo.h @@ -29,16 +29,6 @@ typedef unsigned InstrSchedClass; const MachineOpCode INVALID_MACHINE_OPCODE = -1; -// Global variable holding an array of descriptors for machine instructions. -// The actual object needs to be created separately for each target machine. -// This variable is initialized and reset by class MachineInstrInfo. -// -// FIXME: This should be a property of the target so that more than one target -// at a time can be active... -// -extern const MachineInstrDescriptor *TargetInstrDescriptors; - - //--------------------------------------------------------------------------- // struct MachineInstrDescriptor: // Predefined information about each machine instruction. |