minor update

This commit is contained in:
Gabriel Wang 2021-12-30 15:02:40 +00:00
parent cf3fae7fea
commit dbba91a61e

View File

@ -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] = {