diff options
author | Jo-Philipp Wich <jo@mein.io> | 2022-08-06 09:28:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-06 09:28:37 +0200 |
commit | f1e393873a17571ada80c189fbedef020d89cdad (patch) | |
tree | 935044691733689fbae18879a8bb70bf15672d75 /vm.c | |
parent | e55965a3d170f60776ffa2d82b2711d9ea3a0211 (diff) | |
parent | b4a3f6828478f1d831ae11ee4d3dcd82b93407c8 (diff) |
Merge pull request #97 from jow-/module-import-export-fixes
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1179,6 +1179,9 @@ uc_vm_insn_load_closure(uc_vm_t *vm, uc_vm_insn_t insn) uc_vm_stack_push(vm, &closure->header); + if (function->module) + return; + for (i = 0; i < function->nupvals; i++) { uv = ( frame->ip[0] * 0x1000000 + |