wingo pushed a commit to branch wip-whippet in repository guile. commit 05d2c959505019ac1be03ca2e6f1885103fd7ec6 Author: Andy Wingo <wi...@igalia.com> AuthorDate: Mon Oct 3 16:08:46 2022 +0200
mt-gcbench: Only crash when tracing holes for precise GC --- mt-gcbench-embedder.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mt-gcbench-embedder.h b/mt-gcbench-embedder.h index 3aec4808b..3162a8bf3 100644 --- a/mt-gcbench-embedder.h +++ b/mt-gcbench-embedder.h @@ -36,7 +36,9 @@ static inline void visit_hole_fields(Hole *obj, void (*visit)(struct gc_edge edge, void *visit_data), void *visit_data) { +#if GC_PRECISE GC_CRASH(); +#endif } #include "simple-gc-embedder.h"