Add a comment

llvm-svn: 571
This commit is contained in:
Chris Lattner 2001-09-14 16:08:12 +00:00
parent 76f3eeaccf
commit add21b5643

View 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
}