Add an assertion.

llvm-svn: 3734
This commit is contained in:
Vikram S. Adve 2002-09-16 15:13:59 +00:00
parent 86e49b7621
commit 74823d9145

View File

@ -38,6 +38,7 @@ static struct MCFIInitializer {
MachineCodeForInstruction&
MachineCodeForInstruction::get(const Instruction *I){
assert(I != NULL);
return *(MachineCodeForInstruction*)I->getOrCreateAnnotation(MCFI_AID);
}