[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
Jim Laskey
jlaskey at apple.com
Tue Mar 28 05:45:32 PST 2006
Changes in directory llvm/lib/CodeGen/SelectionDAG:
SelectionDAGISel.cpp updated: 1.210 -> 1.211
---
Log message:
More bulletproofing of llvm.dbg.declare.
---
Diffs of the changes: (+1 -1)
SelectionDAGISel.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.210 llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.211
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.210 Mon Mar 27 18:40:09 2006
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp Tue Mar 28 07:45:20 2006
@@ -1390,7 +1390,7 @@
case Intrinsic::dbg_declare: {
MachineDebugInfo *DebugInfo = DAG.getMachineDebugInfo();
DbgDeclareInst &DI = cast<DbgDeclareInst>(I);
- if (DebugInfo && DebugInfo->Verify(DI.getVariable())) {
+ if (DebugInfo && DI.getVariable() && DebugInfo->Verify(DI.getVariable())) {
std::vector<SDOperand> Ops;
SDOperand AddressOp = getValue(DI.getAddress());
More information about the llvm-commits
mailing list