From dbba91a61e0b697812fe876081dddc870794c768 Mon Sep 17 00:00:00 2001 From: Gabriel Wang Date: Thu, 30 Dec 2021 15:02:40 +0000 Subject: [PATCH] minor update --- src/PikaVM.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/PikaVM.c b/src/PikaVM.c index 0cb1c07bb..c2711cf45 100644 --- a/src/PikaVM.c +++ b/src/PikaVM.c @@ -74,8 +74,7 @@ typedef Arg* (*VM_instruct_handler)(PikaObj* self, char* data); -#define __INS_IMPL -#include "__instruction_table.h" + #if defined(__VM_DEBUG__) static Arg* VM_instruction_handler_NON(PikaObj* self, @@ -491,6 +490,9 @@ static Arg* VM_instruction_handler_CTN(PikaObj* self, vmState->jmp = -997; return NULL; } +#else +# define __INS_IMPL +# include "__instruction_table.h" #endif const VM_instruct_handler VM_instruct_handler_table[__INSTRCUTION_CNT] = {