[llvm-commits] CVS: llvm/lib/CodeGen/InstrSelection/MachineCodeForInstruction.cpp
vadve at cs.uiuc.edu
vadve at cs.uiuc.edu
Mon Sep 16 10:15:02 PDT 2002
Changes in directory llvm/lib/CodeGen/InstrSelection:
MachineCodeForInstruction.cpp updated: 1.4 -> 1.5
---
Log message:
Add an assertion.
---
Diffs of the changes:
Index: llvm/lib/CodeGen/InstrSelection/MachineCodeForInstruction.cpp
diff -u llvm/lib/CodeGen/InstrSelection/MachineCodeForInstruction.cpp:1.4 llvm/lib/CodeGen/InstrSelection/MachineCodeForInstruction.cpp:1.5
--- llvm/lib/CodeGen/InstrSelection/MachineCodeForInstruction.cpp:1.4 Mon Jul 8 18:04:31 2002
+++ llvm/lib/CodeGen/InstrSelection/MachineCodeForInstruction.cpp Mon Sep 16 10:13:59 2002
@@ -38,6 +38,7 @@
MachineCodeForInstruction&
MachineCodeForInstruction::get(const Instruction *I){
+ assert(I != NULL);
return *(MachineCodeForInstruction*)I->getOrCreateAnnotation(MCFI_AID);
}
More information about the llvm-commits
mailing list