wingo pushed a commit to branch wip-whippet
in repository guile.
commit 2337de6809d739d3eff9f1cbd7c8e145f27655b5
Author: Andy Wingo <[email protected]>
AuthorDate: Wed Jul 2 17:23:19 2025 +0200
Fix trace kind masking in nofl
---
src/nofl-space.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/nofl-space.h b/src/nofl-space.h
index 4615afa16..ce62c17d3 100644
--- a/src/nofl-space.h
+++ b/src/nofl-space.h
@@ -1351,7 +1351,7 @@ static inline enum gc_trace_kind
nofl_metadata_byte_trace_kind(struct nofl_space *space, uint8_t byte)
{
uint8_t mask = NOFL_METADATA_BYTE_TRACE_KIND_MASK;
- if (nofl_space_heap_has_ambiguous_edges (space))
+ if (!nofl_space_heap_has_ambiguous_edges (space))
mask &= ~NOFL_METADATA_BYTE_TRACE_CONSERVATIVELY;
switch (byte & mask) {