vm.c (OP_RANGE_INC): remove unnecessary local variable

This commit is contained in:
Yukihiro "Matz" Matsumoto
2024-08-07 22:10:30 +09:00
parent 320c757186
commit 22ec76f46c
+1 -2
View File
@@ -2899,8 +2899,7 @@ RETRY_TRY_BLOCK:
}
CASE(OP_RANGE_INC, B) {
mrb_value v = mrb_range_new(mrb, regs[a], regs[a+1], FALSE);
regs[a] = v;
regs[a] = mrb_range_new(mrb, regs[a], regs[a+1], FALSE);
mrb_gc_arena_restore(mrb, ai);
NEXT;
}