[svn:parrot] r43088 - branches/context_unify3/src/pmc

bacek at svn.parrot.org bacek at svn.parrot.org
Wed Dec 16 08:33:23 UTC 2009


Author: bacek
Date: Wed Dec 16 08:33:22 2009
New Revision: 43088
URL: https://trac.parrot.org/parrot/changeset/43088

Log:
Band-aid wrongly created Continuation.

Modified:
   branches/context_unify3/src/pmc/continuation.pmc

Modified: branches/context_unify3/src/pmc/continuation.pmc
==============================================================================
--- branches/context_unify3/src/pmc/continuation.pmc	Wed Dec 16 08:06:01 2009	(r43087)
+++ branches/context_unify3/src/pmc/continuation.pmc	Wed Dec 16 08:33:22 2009	(r43088)
@@ -248,7 +248,8 @@
                 Parrot_pcc_parse_signature_string(INTERP, string_sig, &raw_sig, &invalid_sig);
 
                 /* Build results signature for continuation */
-                if (*pc == PARROT_OP_get_results_pc)
+                /* FIXME First check is band-aid for wrongly created Continutation */
+                if (pc && *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);
 


More information about the parrot-commits mailing list