summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--vm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm.c b/vm.c
index f055564..7d77581 100644
--- a/vm.c
+++ b/vm.c
@@ -1025,6 +1025,7 @@ uc_vm_insn_load_val(uc_vm_t *vm, uc_vm_insn_t insn)
uc_value_t *v = uc_vm_stack_pop(vm);
switch (ucv_type(v)) {
+ case UC_RESSOURCE:
case UC_OBJECT:
case UC_ARRAY:
uc_vm_stack_push(vm, ucv_key_get(vm, v, k));