mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Get an irep symbol if it's OP_GETSV or OP_SETSV
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user