[llvm-commits] [poolalloc] r123528 - /poolalloc/trunk/lib/PoolAllocate/Heuristic.cpp
Arushi Aggarwal
aggarwa4 at illinois.edu
Fri Jan 14 23:53:47 PST 2011
Author: aggarwa4
Date: Sat Jan 15 01:53:47 2011
New Revision: 123528
URL: http://llvm.org/viewvc/llvm-project?rev=123528&view=rev
Log:
Fixed error in build.
Modified:
poolalloc/trunk/lib/PoolAllocate/Heuristic.cpp
Modified: poolalloc/trunk/lib/PoolAllocate/Heuristic.cpp
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/lib/PoolAllocate/Heuristic.cpp?rev=123528&r1=123527&r2=123528&view=diff
==============================================================================
--- poolalloc/trunk/lib/PoolAllocate/Heuristic.cpp (original)
+++ poolalloc/trunk/lib/PoolAllocate/Heuristic.cpp Sat Jan 15 01:53:47 2011
@@ -429,7 +429,7 @@
if (!(GlobalPoolNodes.count (N) || GlobalPoolNodes.count (GGN))) {
// Otherwise, if it was not passed in from outside the function, it must
// be a local pool!
- assert(!N->isGlobalNode() || N->isPtrToIntNode() && "Should be in global mapping!");
+ assert((!N->isGlobalNode() || N->isPtrToIntNode()) && "Should be in global mapping!");
if(!N->isPtrToIntNode()) {
Nodes.push_back (N);
}
More information about the llvm-commits
mailing list