Move TargetInstrDescriptors extern to the one .cpp file that refers to it:
[oota-llvm.git] / include / llvm / Target / TargetInstrInfo.h
index 4198bedd8fc1f14615f55a35320886f9bca840b5..be6b812a3a642d2aa17386b76c27bc2780b1e2cb 100644 (file)
@@ -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.