mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-06 12:16:59 +00:00
Add an assertion.
llvm-svn: 3734
This commit is contained in:
parent
86e49b7621
commit
74823d9145
@ -38,6 +38,7 @@ static struct MCFIInitializer {
|
||||
|
||||
MachineCodeForInstruction&
|
||||
MachineCodeForInstruction::get(const Instruction *I){
|
||||
assert(I != NULL);
|
||||
return *(MachineCodeForInstruction*)I->getOrCreateAnnotation(MCFI_AID);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user