commit | 9dc4185763ee8786e16e6620d3228bfffc80b1cb | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Wed Nov 12 04:57:58 2003 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Wed Nov 12 04:57:58 2003 +0000 |
tree | 814d892d78064f513198b1d732fc227feff6b6c8 | |
parent | 9b29bde341728c5b0052d3453da69ec87482c2cd [diff] |
Don't crash if no gg git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9913 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Analysis/DataStructure/DataStructure.cpp b/lib/Analysis/DataStructure/DataStructure.cpp index 9cf77ae..9d9813c 100644 --- a/lib/Analysis/DataStructure/DataStructure.cpp +++ b/lib/Analysis/DataStructure/DataStructure.cpp
@@ -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...