Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into mrbgems
Browse files Browse the repository at this point in the history
  • Loading branch information
bovi committed Sep 23, 2012
2 parents f699d8e + 84008f9 commit 3fb943e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/vm.c
Expand Up @@ -847,14 +847,15 @@ mrb_run(mrb_state *mrb, struct RProc *proc, mrb_value self)
mrb->arena_idx = ai;
if (mrb->exc) goto L_RAISE;
/* pop stackpos */
regs = mrb->stack = mrb->stbase + mrb->ci->stackidx;
regs[mrb->ci->acc] = recv;
ci = mrb->ci;
regs = mrb->stack = mrb->stbase + ci->stackidx;
regs[ci->acc] = recv;
pc = ci->pc;
cipop(mrb);
irep = mrb->ci->proc->body.irep;
pool = irep->pool;
syms = irep->syms;
pc = mrb->ci->pc;
NEXT;
JUMP;
}
else {
/* setup environment for calling method */
Expand Down

0 comments on commit 3fb943e

Please sign in to comment.