Unverified Commit 846af371 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

Merge pull request #4998 from dearblue/special-vars

Get an irep symbol if it's `OP_GETSV` or `OP_SETSV`
parents 38b4483f bd60ad98
......@@ -1089,13 +1089,13 @@ RETRY_TRY_BLOCK:
}
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;
NEXT;
}
CASE(OP_SETSV, BB) {
mrb_vm_special_set(mrb, b, regs[a]);
mrb_vm_special_set(mrb, syms[b], regs[a]);
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