Skip to content

Commit

Permalink
fix rakudo for parrot's take_recont branch
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Feb 21, 2012
1 parent ac5d99f commit 7cb1087
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/binder/multidispatch.c
Expand Up @@ -545,7 +545,6 @@ static PMC* find_best_candidate(PARROT_INTERP, Rakudo_md_candidate_info **candid
INTVAL i; INTVAL i;


for (i = 0; i < possibles_count; i++) { for (i = 0; i < possibles_count; i++) {
interp->current_cont = (PMC *)NEED_CONTINUATION;
Parrot_pcc_set_signature(interp, CURRENT_CONTEXT(interp), NULL); Parrot_pcc_set_signature(interp, CURRENT_CONTEXT(interp), NULL);


/* First, if there's a required named parameter and it was /* First, if there's a required named parameter and it was
Expand Down Expand Up @@ -579,6 +578,8 @@ static PMC* find_best_candidate(PARROT_INTERP, Rakudo_md_candidate_info **candid
* Get it compiled. */ * Get it compiled. */
Parrot_ext_call(interp, cthunk, "->"); Parrot_ext_call(interp, cthunk, "->");
} }

Parrot_pcc_reuse_continuation(interp, CURRENT_CONTEXT(interp), next);
where = VTABLE_invoke(interp, possibles[i]->sub, next); where = VTABLE_invoke(interp, possibles[i]->sub, next);
lexpad = Parrot_pcc_get_lex_pad(interp, CURRENT_CONTEXT(interp)); lexpad = Parrot_pcc_get_lex_pad(interp, CURRENT_CONTEXT(interp));
sig = possibles[i]->signature; sig = possibles[i]->signature;
Expand Down

0 comments on commit 7cb1087

Please sign in to comment.