From 29d0d5a78edb5873419ce6999603a8a3324e446c Mon Sep 17 00:00:00 2001 From: Paul Guyot Date: Sun, 12 Nov 2023 12:28:18 +0100 Subject: [PATCH] Fix trace with bs_create_bin/6 Signed-off-by: Paul Guyot --- src/libAtomVM/opcodesswitch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libAtomVM/opcodesswitch.h b/src/libAtomVM/opcodesswitch.h index 68c29204f..b05ca9121 100644 --- a/src/libAtomVM/opcodesswitch.h +++ b/src/libAtomVM/opcodesswitch.h @@ -6132,7 +6132,7 @@ HOT_FUNC int scheduler_entry_point(GlobalContext *glb) DECODE_LITERAL(unit, pc); dreg_gc_safe_t dreg; DECODE_DEST_REGISTER_GC_SAFE(dreg, pc); - TRACE("bs_create_bin/6 fail=%i, alloc=%i live=%i unit=%i dreg=%c%i\n", fail, alloc, live, unit, T_DEST_REG_UNSAFE(dreg)); + TRACE("bs_create_bin/6 fail=%i, alloc=%i live=%i unit=%i dreg=%c%i\n", fail, alloc, live, unit, T_DEST_REG_GC_SAFE(dreg)); DECODE_EXTENDED_LIST_TAG(pc); uint32_t list_len; DECODE_LITERAL(list_len, pc);