diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-11-22 12:20:56 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-11-22 12:20:56 +0900 |
| commit | fe3ac5084571c301aaa6d035fa3b784e7e04c567 (patch) | |
| tree | 558a86a5cfbeb9bfc388b0fceeccfc7e3be991a3 /src | |
| parent | cb4b042777d6ad293d9df21343bcfb6d579ecaea (diff) | |
| download | mruby-fe3ac5084571c301aaa6d035fa3b784e7e04c567.tar.gz mruby-fe3ac5084571c301aaa6d035fa3b784e7e04c567.zip | |
fixup! Remove fixed argument of `ecall()`; ref #3855 #3856
Diffstat (limited to 'src')
| -rw-r--r-- | src/vm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1843,7 +1843,7 @@ RETRY_TRY_BLOCK: #define ecall_adjust() do {\ ptrdiff_t cioff = ci - mrb->c->cibase;\ - ecall(mrb, --mrb->c->eidx);\ + ecall(mrb);\ ci = mrb->c->cibase + cioff;\ } while (0) @@ -2890,7 +2890,7 @@ RETRY_TRY_BLOCK: int epos = mrb->c->ci->epos; while (mrb->c->eidx > epos) { - ecall(mrb, --mrb->c->eidx); + ecall(mrb); } } ERR_PC_CLR(mrb); |
