From 12c71c00ef82c3d3a8dafb8dde9cfd7b9246eb8f Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 12 Nov 2003 04:57:58 +0000 Subject: [PATCH] Don't crash if no gg llvm-svn: 9913 --- llvm/lib/Analysis/DataStructure/DataStructure.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Analysis/DataStructure/DataStructure.cpp b/llvm/lib/Analysis/DataStructure/DataStructure.cpp index 9cf77ae1229c..9d9813cd7cbb 100644 --- a/llvm/lib/Analysis/DataStructure/DataStructure.cpp +++ b/llvm/lib/Analysis/DataStructure/DataStructure.cpp @@ -1409,7 +1409,7 @@ static bool CallSiteUsesAliveArgs(DSCallSite &CS, hash_set &Alive, // 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...