Add an assertion.
llvm-svn: 3734
This commit is contained in:
@@ -38,6 +38,7 @@ static struct MCFIInitializer {
|
||||
|
||||
MachineCodeForInstruction&
|
||||
MachineCodeForInstruction::get(const Instruction *I){
|
||||
assert(I != NULL);
|
||||
return *(MachineCodeForInstruction*)I->getOrCreateAnnotation(MCFI_AID);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user