Commit bd60ad98 authored by dearblue's avatar dearblue

Get an irep symbol if it's `OP_GETSV` or `OP_SETSV`

parent 7826af38
...@@ -1089,13 +1089,13 @@ RETRY_TRY_BLOCK: ...@@ -1089,13 +1089,13 @@ RETRY_TRY_BLOCK:
} }
CASE(OP_GETSV, BB) { CASE(OP_GETSV, BB) {
mrb_value val = mrb_vm_special_get(mrb, b); mrb_value val = mrb_vm_special_get(mrb, syms[b]);
regs[a] = val; regs[a] = val;
NEXT; NEXT;
} }
CASE(OP_SETSV, BB) { CASE(OP_SETSV, BB) {
mrb_vm_special_set(mrb, b, regs[a]); mrb_vm_special_set(mrb, syms[b], regs[a]);
NEXT; NEXT;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment