[svn:parrot] r38916 - trunk/src

jonathan at svn.parrot.org jonathan at svn.parrot.org
Mon May 18 21:58:22 UTC 2009


Author: jonathan
Date: Mon May 18 21:58:22 2009
New Revision: 38916
URL: https://trac.parrot.org/parrot/changeset/38916

Log:
[core] Allow us to hll_map MultiSub. We may need to patch up a few other places, but this seems the main one.

Modified:
   trunk/src/global.c

Modified: trunk/src/global.c
==============================================================================
--- trunk/src/global.c	Mon May 18 21:56:52 2009	(r38915)
+++ trunk/src/global.c	Mon May 18 21:58:22 2009	(r38916)
@@ -831,7 +831,7 @@
 
     /* is there an existing MultiSub PMC? or do we need to create one? */
     if (PMC_IS_NULL(multisub)) {
-        multisub = pmc_new(interp, enum_class_MultiSub);
+        multisub = pmc_new(interp,  Parrot_get_ctx_HLL_type(interp, enum_class_MultiSub));
         /* we have to push the sub onto the MultiSub before we try to store
         it because storing requires information from the sub */
         VTABLE_push_pmc(interp, multisub, sub_pmc);


More information about the parrot-commits mailing list