[llvm-commits] [poolalloc] r58534 - /poolalloc/trunk/lib/PoolAllocate/TransformFunctionBody.cpp
John Criswell
criswell at uiuc.edu
Fri Oct 31 13:03:17 PDT 2008
Author: criswell
Date: Fri Oct 31 15:03:17 2008
New Revision: 58534
URL: http://llvm.org/viewvc/llvm-project?rev=58534&view=rev
Log:
Fix assertion.
Modified:
poolalloc/trunk/lib/PoolAllocate/TransformFunctionBody.cpp
Modified: poolalloc/trunk/lib/PoolAllocate/TransformFunctionBody.cpp
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/lib/PoolAllocate/TransformFunctionBody.cpp?rev=58534&r1=58533&r2=58534&view=diff
==============================================================================
--- poolalloc/trunk/lib/PoolAllocate/TransformFunctionBody.cpp (original)
+++ poolalloc/trunk/lib/PoolAllocate/TransformFunctionBody.cpp Fri Oct 31 15:03:17 2008
@@ -659,10 +659,8 @@
//
// Do an assert unless we're bugpointing something.
//
- if (UsingBugpoint)
- if (!CF) return;
- else
- assert (CF && "No call graph info");
+ if ((UsingBugpoint) && (!CF)) return;
+ assert (CF && "No call graph info");
// Get the common graph for the set of functions this call may invoke.
CalleeGraph = Graphs.getDSGraph(*CF);
More information about the llvm-commits
mailing list