Add a comment
authorChris Lattner <sabre@nondot.org>
Fri, 14 Sep 2001 16:08:12 +0000 (16:08 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 14 Sep 2001 16:08:12 +0000 (16:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@571 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/TargetMachine.cpp

index ec264829b166452d4f77b27ac01b2ece3c499315..aecc88556707249e3918f00a578ee6bedb8dc629 100644 (file)
@@ -50,6 +50,7 @@ MachineInstrInfo::MachineInstrInfo(const MachineInstrDescriptor* _desc,
                                   unsigned int _numRealOpCodes)
   : desc(_desc), descSize(_descSize), numRealOpCodes(_numRealOpCodes)
 {
+  // FIXME: TargetInstrDescriptors should not be global
   assert(TargetInstrDescriptors == NULL && desc != NULL);
   TargetInstrDescriptors = desc;       // initialize global variable
 }