Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix rakudo for parrot's take_recont branch

  • Loading branch information...
commit 7cb10870622f65244502c351a2f0b005c7a23a70 1 parent ac5d99f
@moritz moritz authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  src/binder/multidispatch.c
View
3  src/binder/multidispatch.c
@@ -545,7 +545,6 @@ static PMC* find_best_candidate(PARROT_INTERP, Rakudo_md_candidate_info **candid
INTVAL i;
for (i = 0; i < possibles_count; i++) {
- interp->current_cont = (PMC *)NEED_CONTINUATION;
Parrot_pcc_set_signature(interp, CURRENT_CONTEXT(interp), NULL);
/* First, if there's a required named parameter and it was
@@ -579,6 +578,8 @@ static PMC* find_best_candidate(PARROT_INTERP, Rakudo_md_candidate_info **candid
* Get it compiled. */
Parrot_ext_call(interp, cthunk, "->");
}
+
+ Parrot_pcc_reuse_continuation(interp, CURRENT_CONTEXT(interp), next);
where = VTABLE_invoke(interp, possibles[i]->sub, next);
lexpad = Parrot_pcc_get_lex_pad(interp, CURRENT_CONTEXT(interp));
sig = possibles[i]->signature;
Please sign in to comment.
Something went wrong with that request. Please try again.