From 84bc8f36623735af2f3a9bb1da5313bfdade0b76 Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Thu, 16 Aug 2012 16:38:57 +0200 Subject: [PATCH] CALL instructions need to offset the st++ too --- execloop.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/execloop.h b/execloop.h index af544b9..1af144a 100644 --- a/execloop.h +++ b/execloop.h @@ -312,7 +312,7 @@ while (1) { builtinnumber, prog->filename); } else - st = prog->code + prog_enterfunction(prog, newf); + st = prog->code + prog_enterfunction(prog, newf) - 1; /* offset st++ */ if (prog->vmerror) goto cleanup; break; -- 2.39.2