From 57f738d44ff5f98f9fcfdb5deb57d14eca14e2e0 Mon Sep 17 00:00:00 2001 From: yeom Date: Thu, 3 May 2012 00:38:20 +0000 Subject: [PATCH] Fix: need to keep the number of allocation site for the heap examiner. Somehow the code that assigns the alloc# to the corresponding variable was commented out. Toggle the comment. Now the Barneshut works fine. --- Robust/src/Runtime/runtime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Robust/src/Runtime/runtime.c b/Robust/src/Runtime/runtime.c index 01d45555..585cb73c 100644 --- a/Robust/src/Runtime/runtime.c +++ b/Robust/src/Runtime/runtime.c @@ -819,7 +819,7 @@ __attribute__((malloc)) void * allocate_new(void * ptr, int type) { #endif #ifdef MLP v->oid=oid; - // v->allocsite=allocsite; + v->allocsite=allocsite; #endif return v; } -- 2.34.1