Permalink
Browse files

Update passing params in Continuation

git-svn-id: https://svn.parrot.org/parrot/branches/context_unify@42125 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information...
1 parent 4c58950 commit 4ec67b22c39f65f0bec683afe1ca1f2774307e57 bacek committed Oct 26, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/pmc/continuation.pmc
View
@@ -235,10 +235,10 @@ destination to continue execution.
Parrot_continuation_check(interp, SELF);
Parrot_continuation_rewind_environment(interp, SELF);
- if (1 /* !PMC_IS_NULL(from_obj) */) {
+ if (!PMC_IS_NULL(VTABLE_get_attr_str(INTERP, from_ctx, CONST_STRING(INTERP, "return_flags")))) {
STRING *string_sig = VTABLE_get_string(INTERP, from_ctx);
/* If there is no string - there is no args */
- if (string_sig) {
+ if (pc && string_sig) {
PMC *raw_sig, *invalid_sig;
Parrot_pcc_parse_signature_string(INTERP, string_sig, &raw_sig, &invalid_sig);

0 comments on commit 4ec67b2

Please sign in to comment.