[llvm-commits] CVS: llvm/include/llvm/Target/MachineInstrInfo.h

Chris Lattner lattner at cs.uiuc.edu
Tue Oct 29 11:41:00 PST 2002


Changes in directory llvm/include/llvm/Target:

MachineInstrInfo.h updated: 1.31 -> 1.32

---
Log message:

Move TargetInstrDescriptors extern to the one .cpp file that refers to it:
MachineInstr.cpp


---
Diffs of the changes:

Index: llvm/include/llvm/Target/MachineInstrInfo.h
diff -u llvm/include/llvm/Target/MachineInstrInfo.h:1.31 llvm/include/llvm/Target/MachineInstrInfo.h:1.32
--- llvm/include/llvm/Target/MachineInstrInfo.h:1.31	Tue Oct 29 11:35:09 2002
+++ llvm/include/llvm/Target/MachineInstrInfo.h	Tue Oct 29 11:40:28 2002
@@ -29,16 +29,6 @@
 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.





More information about the llvm-commits mailing list