[svn:parrot] r44643 - branches/pcc_hackathon_6Mar10/src/pmc
allison at svn.parrot.org
allison at svn.parrot.org
Fri Mar 5 13:35:17 UTC 2010
Author: allison
Date: Fri Mar 5 13:35:16 2010
New Revision: 44643
URL: https://trac.parrot.org/parrot/changeset/44643
Log:
[pcc] Remove a hack that's no longer needed, since all returns are
handled as regular arguments passed to a continuation.
Modified:
branches/pcc_hackathon_6Mar10/src/pmc/continuation.pmc
Modified: branches/pcc_hackathon_6Mar10/src/pmc/continuation.pmc
==============================================================================
--- branches/pcc_hackathon_6Mar10/src/pmc/continuation.pmc Fri Mar 5 13:19:42 2010 (r44642)
+++ branches/pcc_hackathon_6Mar10/src/pmc/continuation.pmc Fri Mar 5 13:35:16 2010 (r44643)
@@ -262,19 +262,7 @@
Parrot_continuation_rewind_environment(INTERP, SELF);
if (!PMC_IS_NULL(from_obj)) {
- STRING * const string_sig = VTABLE_get_string(INTERP, from_obj);
- /* If there is no string - there is no args */
- if (string_sig) {
- 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)
- call_obj = Parrot_pcc_build_sig_object_returns_from_op(INTERP, call_obj,
- Parrot_pcc_get_pmc_constant(INTERP, to_ctx, pc[1]), pc);
-
- Parrot_pcc_fill_returns_from_continuation(INTERP, call_obj, raw_sig, from_obj);
- }
+ Parrot_pcc_set_signature(INTERP, CURRENT_CONTEXT(INTERP), from_obj);
}
/* switch segment */
More information about the parrot-commits
mailing list