diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-07-27 10:30:43 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-07-27 10:30:43 +0900 |
| commit | 5d44f8582eb2f3011145861692d9ad42975f7a74 (patch) | |
| tree | 735b6772a7e1bc2142b1813b93886fefe3377ac8 /src | |
| parent | 7d5cf8749a439f247b05f84a459f0da1f2045cb8 (diff) | |
| download | mruby-5d44f8582eb2f3011145861692d9ad42975f7a74.tar.gz mruby-5d44f8582eb2f3011145861692d9ad42975f7a74.zip | |
Remove loop from `OP_POPERR`.
Diffstat (limited to 'src')
| -rw-r--r-- | src/vm.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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; } |
