From 2337de6809d739d3eff9f1cbd7c8e145f27655b5 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Wed, 2 Jul 2025 17:23:19 +0200 Subject: [PATCH] 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) {