projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix bug: eval_thunk_selector was calling the unlocked evacuate()
[ghc-hetmet.git]
/
rts
/
sm
/
Evac.c-inc
diff --git
a/rts/sm/Evac.c-inc
b/rts/sm/Evac.c-inc
index
7e10452
..
4fe9d5d
100644
(file)
--- a/
rts/sm/Evac.c-inc
+++ b/
rts/sm/Evac.c-inc
@@
-39,6
+39,7
@@
copy_tag(StgClosure **p, StgClosure *src, nat size, step *stp, StgWord tag)
return evacuate(p); // does the failed_to_evac stuff
}
#else
return evacuate(p); // does the failed_to_evac stuff
}
#else
+ ASSERT(n_gc_threads == 1);
info = (W_)src->header.info;
src->header.info = &stg_EVACUATED_info;
#endif
info = (W_)src->header.info;
src->header.info = &stg_EVACUATED_info;
#endif
@@
-563,3
+564,8
@@
loop:
barf("evacuate");
}
barf("evacuate");
}
+
+#undef copy
+#undef copy_tag
+#undef copyPart
+#undef evacuate