]> Nishi Git Mirror - gwion.git/commitdiff
:art: Use prepared bytecode
authorJérémie Astor <fennecdjay@gmail.com>
Mon, 27 Dec 2021 12:30:42 +0000 (13:30 +0100)
committerJérémie Astor <fennecdjay@gmail.com>
Mon, 27 Dec 2021 12:30:42 +0000 (13:30 +0100)
src/vm/vm.c

index 390974065b2e8c56d0f0c7b4c2021d8ec7600312..16d605d173a177ab76ac459c12758cd51f640a81 100644 (file)
@@ -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;