Remove loop from `OP_POPERR`.

parent 7d5cf874
......@@ -1261,9 +1261,7 @@ RETRY_TRY_BLOCK:
/* A A.times{rescue_pop()} */
int a = GETARG_A(i);
while (a--) {
mrb->c->ci->ridx--;
}
mrb->c->ci->ridx -= 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