diff options
-rw-r--r-- | lib/CodeGen/MachineCodeForInstruction.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/MachineCodeForInstruction.cpp b/lib/CodeGen/MachineCodeForInstruction.cpp index f21e01651b..6156399224 100644 --- a/lib/CodeGen/MachineCodeForInstruction.cpp +++ b/lib/CodeGen/MachineCodeForInstruction.cpp @@ -38,6 +38,7 @@ static struct MCFIInitializer { MachineCodeForInstruction& MachineCodeForInstruction::get(const Instruction *I){ + assert(I != NULL); return *(MachineCodeForInstruction*)I->getOrCreateAnnotation(MCFI_AID); } |