Add an assertion.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3734 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Vikram S. Adve 2002-09-16 15:13:59 +00:00
parent 6641995564
commit 87fbcd99b4

View File

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