bug
authoradash <adash>
Wed, 27 Feb 2008 23:56:39 +0000 (23:56 +0000)
committeradash <adash>
Wed, 27 Feb 2008 23:56:39 +0000 (23:56 +0000)
Robust/src/Runtime/garbage.c

index 16aca4c23a0f823b32bc5f1c987ddf314148e0a7..283e60b84470b4fe050c56da560dbcf46f3e368c 100644 (file)
@@ -37,12 +37,11 @@ struct listitem * list=NULL;
 int listcount=0;
 #endif
 
+//Need to check if pointers are transaction pointers
 #ifdef DSTM
 #define ENQUEUE(orig, dst) \
 if ((!(((unsigned int)orig)&0x1))) {\
-if (orig>to_heapbase&&orig<to_heaptop) {\
-dst=NULL;\
-} else if (orig>curr_heapbase&&orig<curr_heaptop) {\
+if (orig>=curr_heapbase&&orig<curr_heaptop) {\
 void *copy;\
 if (gc_createcopy(orig,&copy))\
 enqueue(orig);\