[llvm-commits] CVS: llvm/lib/Analysis/DataStructure/DataStructure.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Nov 11 22:59:01 PST 2003
Changes in directory llvm/lib/Analysis/DataStructure:
DataStructure.cpp updated: 1.128 -> 1.129
---
Log message:
Don't crash if no gg
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/Analysis/DataStructure/DataStructure.cpp
diff -u llvm/lib/Analysis/DataStructure/DataStructure.cpp:1.128 llvm/lib/Analysis/DataStructure/DataStructure.cpp:1.129
--- llvm/lib/Analysis/DataStructure/DataStructure.cpp:1.128 Tue Nov 11 16:41:32 2003
+++ llvm/lib/Analysis/DataStructure/DataStructure.cpp Tue Nov 11 22:57:58 2003
@@ -1409,7 +1409,7 @@
// inlining graphs.
//
void DSGraph::removeDeadNodes(unsigned Flags) {
- DEBUG(AssertGraphOK(); GlobalsGraph->AssertGraphOK());
+ DEBUG(AssertGraphOK(); if (GlobalsGraph) GlobalsGraph->AssertGraphOK());
// Reduce the amount of work we have to do... remove dummy nodes left over by
// merging...
More information about the llvm-commits
mailing list