[svn:parrot] r41917 - branches/pcc_reapply/src/pmc
bacek at svn.parrot.org
bacek at svn.parrot.org
Sun Oct 18 01:42:59 UTC 2009
Author: bacek
Date: Sun Oct 18 01:42:59 2009
New Revision: 41917
URL: https://trac.parrot.org/parrot/changeset/41917
Log:
Don't use stored arg_flags in Continuation.invoke. :flat args apparently are flatten, but arg_flags are not updated.
Modified:
branches/pcc_reapply/src/pmc/continuation.pmc
Modified: branches/pcc_reapply/src/pmc/continuation.pmc
==============================================================================
--- branches/pcc_reapply/src/pmc/continuation.pmc Sun Oct 18 01:42:39 2009 (r41916)
+++ branches/pcc_reapply/src/pmc/continuation.pmc Sun Oct 18 01:42:59 2009 (r41917)
@@ -242,7 +242,9 @@
Parrot_continuation_rewind_environment(interp, SELF);
if (!PMC_IS_NULL(from_obj)) {
- PMC *raw_sig = VTABLE_get_attr_str(interp, from_obj, CONST_STRING(interp, "arg_flags"));
+ STRING *string_sig = VTABLE_get_string(INTERP, from_obj);
+ PMC *raw_sig, *invalid_sig;
+ Parrot_pcc_parse_signature_string(INTERP, string_sig, &raw_sig, &invalid_sig);
/* Build results signature for continuation */
if (*pc == PARROT_OP_get_results_pc)
More information about the parrot-commits
mailing list