mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-19 16:35:10 +00:00
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:
parent
6641995564
commit
87fbcd99b4
@ -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