[svn:parrot] r37975 - branches/pcc_rewiring/src

allison at svn.parrot.org allison at svn.parrot.org
Wed Apr 8 03:49:31 UTC 2009


Author: allison
Date: Wed Apr  8 03:49:23 2009
New Revision: 37975
URL: https://trac.parrot.org/parrot/changeset/37975

Log:
[pcc] The 'main' sub needs to be invoked using the new conventions.

Modified:
   branches/pcc_rewiring/src/embed.c

Modified: branches/pcc_rewiring/src/embed.c
==============================================================================
--- branches/pcc_rewiring/src/embed.c	Wed Apr  8 02:55:19 2009	(r37974)
+++ branches/pcc_rewiring/src/embed.c	Wed Apr  8 03:49:23 2009	(r37975)
@@ -1009,7 +1009,7 @@
     CONTEXT(interp)->current_sub = NULL;
     CONTEXT(interp)->constants   = interp->code->const_table->constants;
 
-    Parrot_runops_fromc_args(interp, main_sub, "vP", userargv);
+    Parrot_pcc_invoke_sub_from_c_args(interp, main_sub, "P->", userargv);
 }
 
 


More information about the parrot-commits mailing list