more bug fixes
authorbdemsky <bdemsky>
Fri, 15 Apr 2011 23:55:56 +0000 (23:55 +0000)
committerbdemsky <bdemsky>
Fri, 15 Apr 2011 23:55:56 +0000 (23:55 +0000)
Robust/src/Runtime/garbage.c
Robust/src/Runtime/garbage.h
Robust/src/Runtime/taskgarbage.c

index 712096c87b7a21a827c71ccb69449768b939a098..a826f3faac1e2cc291bfc7111821f1d5e0ef2438 100644 (file)
@@ -106,11 +106,6 @@ __thread struct listitem litem;
 #endif
 
 
-struct pointerblock {
-  void * ptrs[NUMPTRS];
-  struct pointerblock *next;
-};
-
 void * curr_heapbase=0;
 void * curr_heapptr=0;
 void * curr_heapgcpoint=0;
index fd6f57c371fb4b3827d4b2c40d9e47a720f0fce1..8d82ea12391d1fc445d5b4775f8bac801e25ec94 100644 (file)
@@ -9,6 +9,12 @@
 
 #define NUMPTRS 100
 
+struct pointerblock {
+  void * ptrs[NUMPTRS];
+  struct pointerblock *next;
+};
+
+
 struct garbagelist {  
   int size;
   struct garbagelist *next;  
index 8b256f3cc6842bf3cb5341255d294952dbfb2ec8..c853948677fa809ece83cc82eec50b053d61bc73 100644 (file)
@@ -3,6 +3,7 @@
 #include "structdefs.h"
 #include "SimpleHash.h"
 #include "GenericHashtable.h"
+#include<string.h>
 
 #ifdef TASK