From acd372730ef61ff124efeb2ff51bb98df92b8dd2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Mon, 27 Dec 2021 13:30:42 +0100 Subject: [PATCH] :art: Use prepared bytecode --- src/vm/vm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vm/vm.c b/src/vm/vm.c index 39097406..16d605d1 100644 --- a/src/vm/vm.c +++ b/src/vm/vm.c @@ -280,8 +280,8 @@ ANN static VM_Shred init_fork_shred(const VM_Shred shred, const VM_Code code, break; \ } -#define ADVANCE() { byte += BYTECODE_SZ; shred->pc++;} -//#define ADVANCE() byte += BYTECODE_SZ +//#define ADVANCE() { byte += BYTECODE_SZ; shred->pc++;} +#define ADVANCE() byte += BYTECODE_SZ //#define SDISPATCH() goto *dispatch[*(m_bit *)byte]; #define SDISPATCH() goto **(void***)byte; -- 2.43.0