From 19834f9c31f897d4cb5abf5bc7a00cf93b30fae0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Sun, 16 May 2021 15:43:41 +0200 Subject: [PATCH] :bug: Fix handle() --- src/vm/vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vm/vm.c b/src/vm/vm.c index d16bebf2..931671b5 100644 --- a/src/vm/vm.c +++ b/src/vm/vm.c @@ -80,7 +80,7 @@ ANN static bool unwind(VM_Shred shred, const Symbol effect, const m_uint size) { if(shred->mem == (m_bit*)shred + sizeof(struct VM_Shred_) + SIZEOF_REG) return true; shred_unwind(shred); - return unwind(shred, effect, size - 2); + return unwind(shred, effect, size - 1); } ANN static void trace(VM_Shred shred, const m_uint size) { -- 2.43.0