wingo pushed a commit to branch wip-whippet
in repository guile.

commit 1b00300c7284bbae29714457816f7b1239afe647
Author: Andy Wingo <wi...@pobox.com>
AuthorDate: Tue Jul 1 22:15:44 2025 +0200

    Allow gc_extern_space_visit in precise mode
    
    * libguile/whippet-embedder.h (gc_extern_space_visit): Just return 0.
---
 libguile/whippet-embedder.h | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/libguile/whippet-embedder.h b/libguile/whippet-embedder.h
index cb6adf5b2..b7e733416 100644
--- a/libguile/whippet-embedder.h
+++ b/libguile/whippet-embedder.h
@@ -61,14 +61,11 @@ gc_is_valid_conservative_ref_displacement (uintptr_t 
displacement) {
 }
 
 // FIXME: Here add tracing for SCM literals in .go files or .data
-// sections, perhaps.  For now while we are using BDW-GC we can punt.
+// sections, perhaps.  For now while we have conservative roots we can
+// punt.
 static inline int gc_extern_space_visit (struct gc_extern_space *space,
                                          struct gc_ref ref) {
-#if GC_CONSERVATIVE_TRACE
   return 0;
-#else
-  GC_CRASH ();
-#endif
 }
 static inline void gc_extern_space_start_gc (struct gc_extern_space *space,
                                              int is_minor_gc) {

Reply via email to