From aa5858f1c6ca3c10a3e3d4fce5df5fe8eb77b636 Mon Sep 17 00:00:00 2001 From: lyon Date: Sun, 1 May 2022 12:27:14 +0800 Subject: [PATCH] writing _IMP ins argratem --- src/PikaVM.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/PikaVM.c b/src/PikaVM.c index 777ab8710..88c315fe2 100644 --- a/src/PikaVM.c +++ b/src/PikaVM.c @@ -908,6 +908,10 @@ exit: } static Arg* VM_instruction_handler_IMP(PikaObj* self, VMState* vs, char* data) { + /* the module is already imported, skip. */ + if(obj_isArgExist(self, data)){ + return NULL; + } return NULL; }