projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6641995
)
Add an assertion.
author
Vikram S. Adve
<vadve@cs.uiuc.edu>
Mon, 16 Sep 2002 15:13:59 +0000
(15:13 +0000)
committer
Vikram S. Adve
<vadve@cs.uiuc.edu>
Mon, 16 Sep 2002 15:13:59 +0000
(15:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3734
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/MachineCodeForInstruction.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/MachineCodeForInstruction.cpp
b/lib/CodeGen/MachineCodeForInstruction.cpp
index f21e01651beff6449f79ebf3c40e7c959eb68169..6156399224148ab5d64e5e88f558927a4176655b 100644
(file)
--- 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);
}