projects
/
IRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f222f2d
)
bug
author
adash
<adash>
Wed, 27 Feb 2008 23:56:39 +0000
(23:56 +0000)
committer
adash
<adash>
Wed, 27 Feb 2008 23:56:39 +0000
(23:56 +0000)
Robust/src/Runtime/garbage.c
patch
|
blob
|
history
diff --git
a/Robust/src/Runtime/garbage.c
b/Robust/src/Runtime/garbage.c
index 16aca4c23a0f823b32bc5f1c987ddf314148e0a7..283e60b84470b4fe050c56da560dbcf46f3e368c 100644
(file)
--- a/
Robust/src/Runtime/garbage.c
+++ b/
Robust/src/Runtime/garbage.c
@@
-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,©))\
enqueue(orig);\