diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-01-16 13:56:26 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-01-16 13:56:26 +0900 |
| commit | 0aa8db9a06157d8c10a88ad592a691b6da7a0533 (patch) | |
| tree | f785a2fc032e8063aafdc3d6a6073081814d0d71 | |
| parent | 4bba769b951faa370ce210d28bf8cb46734304e6 (diff) | |
| parent | 414a61a9d210dcf797a3a48a3b50c94b60eea780 (diff) | |
| download | mruby-0aa8db9a06157d8c10a88ad592a691b6da7a0533.tar.gz mruby-0aa8db9a06157d8c10a88ad592a691b6da7a0533.zip | |
Merge pull request #5291 from dearblue/fix-5272
Fixed stack position of return value; ref #5272
| -rw-r--r-- | src/vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1515,7 +1515,7 @@ RETRY_TRY_BLOCK: /* pop stackpos */ ci = cipop(mrb); pc = ci->pc; - regs[ci->acc] = recv; + regs[ci[1].acc] = recv; irep = mrb->c->ci->proc->body.irep; pool = irep->pool; syms = irep->syms; |
