diff options
author | Vikram S. Adve <vadve@cs.uiuc.edu> | 2002-09-16 15:13:59 +0000 |
---|---|---|
committer | Vikram S. Adve <vadve@cs.uiuc.edu> | 2002-09-16 15:13:59 +0000 |
commit | 4d66e9973f9de26cb8483e59d8ed4dafa39d491c (patch) | |
tree | d572a61dd725417216224e0c82ff6d13264b3aa1 /llvm/lib/CodeGen/MachineCodeForInstruction.cpp | |
parent | f94ad68e5620989ceba9d5cc6d21ed58d9827484 (diff) | |
download | bcm5719-llvm-4d66e9973f9de26cb8483e59d8ed4dafa39d491c.tar.gz bcm5719-llvm-4d66e9973f9de26cb8483e59d8ed4dafa39d491c.zip |
Add an assertion.
llvm-svn: 3734
Diffstat (limited to 'llvm/lib/CodeGen/MachineCodeForInstruction.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineCodeForInstruction.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MachineCodeForInstruction.cpp b/llvm/lib/CodeGen/MachineCodeForInstruction.cpp index f21e01651be..61563992241 100644 --- a/llvm/lib/CodeGen/MachineCodeForInstruction.cpp +++ b/llvm/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); } |