summaryrefslogtreecommitdiffhomepage
path: root/vm.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm.c b/vm.c
index 2889cce..cd71bc6 100644
--- a/vm.c
+++ b/vm.c
@@ -2182,6 +2182,7 @@ uc_vm_execute(uc_vm *vm, uc_function *fn, uc_prototype *globals, json_object *mo
uc_vm_status_t rv;
vm->globals = globals;
+ uc_value_get(globals ? globals->header.jso : NULL);
uc_vector_grow(&vm->callframes);