[llvm-commits] [see] CVS: llvm-poolalloc/lib/DSA/Local.cpp
Andrew Lenharth
alenhar2 at cs.uiuc.edu
Tue Mar 13 11:49:16 PDT 2007
Changes in directory llvm-poolalloc/lib/DSA:
Local.cpp updated: 1.158.2.4.2.6 -> 1.158.2.4.2.7
---
Log message:
infer metapools for allocas
---
Diffs of the changes: (+4 -0)
Local.cpp | 4 ++++
1 files changed, 4 insertions(+)
Index: llvm-poolalloc/lib/DSA/Local.cpp
diff -u llvm-poolalloc/lib/DSA/Local.cpp:1.158.2.4.2.6 llvm-poolalloc/lib/DSA/Local.cpp:1.158.2.4.2.7
--- llvm-poolalloc/lib/DSA/Local.cpp:1.158.2.4.2.6 Mon Mar 12 14:50:27 2007
+++ llvm-poolalloc/lib/DSA/Local.cpp Tue Mar 13 13:48:36 2007
@@ -350,6 +350,10 @@
///
void GraphBuilder::handleAlloc(AllocationInst &AI, bool isHeap) {
DSNode *N = createNode();
+#ifdef LLVA_KERNEL
+ MetaPool* MP = new MetaPool();
+ N->setMP(MP);
+#endif
if (isHeap)
N->setHeapNodeMarker();
else
More information about the llvm-commits
mailing list