[llvm-commits] [poolalloc] r115035 - /poolalloc/trunk/lib/PoolAllocate/PoolAllocate.cpp
John Criswell
criswell at uiuc.edu
Wed Sep 29 07:22:51 PDT 2010
Author: criswell
Date: Wed Sep 29 09:22:50 2010
New Revision: 115035
URL: http://llvm.org/viewvc/llvm-project?rev=115035&view=rev
Log:
Do not attempt to pool allocate array DSNodes for SAFECode. The new heuristic
code will handle it once the refactoring is done.
Modified:
poolalloc/trunk/lib/PoolAllocate/PoolAllocate.cpp
Modified: poolalloc/trunk/lib/PoolAllocate/PoolAllocate.cpp
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/lib/PoolAllocate/PoolAllocate.cpp?rev=115035&r1=115034&r2=115035&view=diff
==============================================================================
--- poolalloc/trunk/lib/PoolAllocate/PoolAllocate.cpp (original)
+++ poolalloc/trunk/lib/PoolAllocate/PoolAllocate.cpp Wed Sep 29 09:22:50 2010
@@ -1097,7 +1097,7 @@
// FIXME: This is not correct for SAFECode; all DSNodes will need to be
// poolallocated.
//
- if ((N->isHeapNode()) || (BoundsChecksEnabled && (N->isArrayNode())) ||
+ if ((N->isHeapNode()) ||
(GlobalsGraphNodeMapping.count(N) &&
GlobalsGraphNodeMapping[N].getNode()->isHeapNode())) {
DSNode *GGN = GlobalsGraphNodeMapping[N].getNode();
More information about the llvm-commits
mailing list