From: Jérémie Astor Date: Mon, 27 Dec 2021 12:30:42 +0000 (+0100) Subject: :art: Use prepared bytecode X-Git-Tag: nightly~389^2~14 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=acd372730ef61ff124efeb2ff51bb98df92b8dd2;p=gwion.git :art: Use prepared bytecode --- 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;