[svn:parrot] r40746 - branches/pcc_arg_unify/src/pmc

allison at svn.parrot.org allison at svn.parrot.org
Mon Aug 24 01:50:46 UTC 2009


Author: allison
Date: Mon Aug 24 01:50:45 2009
New Revision: 40746
URL: https://trac.parrot.org/parrot/changeset/40746

Log:
[pcc] Change MultiSubs to pull arguments from the current call signature
object instead of from registers.

Modified:
   branches/pcc_arg_unify/src/pmc/multisub.pmc

Modified: branches/pcc_arg_unify/src/pmc/multisub.pmc
==============================================================================
--- branches/pcc_arg_unify/src/pmc/multisub.pmc	Mon Aug 24 01:46:31 2009	(r40745)
+++ branches/pcc_arg_unify/src/pmc/multisub.pmc	Mon Aug 24 01:50:45 2009	(r40746)
@@ -57,7 +57,9 @@
     }
 
     VTABLE opcode_t *invoke(void *next) {
-        PMC * const func = Parrot_mmd_sort_manhattan(interp, SELF);
+        PMC * const sig_obj = CONTEXT(interp)->current_sig;
+        PMC * const func = Parrot_mmd_sort_manhattan_by_sig_pmc(interp,
+                SELF, sig_obj);
 
         if (PMC_IS_NULL(func))
             Parrot_ex_throw_from_c_args(INTERP, NULL, 1, "No applicable methods.\n");


More information about the parrot-commits mailing list