Add an assertion.

llvm-svn: 3734
This commit is contained in:
Vikram S. Adve 2002-09-16 15:13:59 +00:00
parent f94ad68e56
commit 4d66e9973f
1 changed files with 1 additions and 0 deletions

View File

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