[svn:parrot] r44744 - branches/pcc_hackathon_6Mar10/src/call

allison at svn.parrot.org allison at svn.parrot.org
Sun Mar 7 20:08:23 UTC 2010


Author: allison
Date: Sun Mar  7 20:08:19 2010
New Revision: 44744
URL: https://trac.parrot.org/parrot/changeset/44744

Log:
[pcc] The invocant has to be inserted in the call context argument list.

Modified:
   branches/pcc_hackathon_6Mar10/src/call/args.c

Modified: branches/pcc_hackathon_6Mar10/src/call/args.c
==============================================================================
--- branches/pcc_hackathon_6Mar10/src/call/args.c	Sun Mar  7 19:33:20 2010	(r44743)
+++ branches/pcc_hackathon_6Mar10/src/call/args.c	Sun Mar  7 20:08:19 2010	(r44744)
@@ -762,6 +762,7 @@
     parse_signature_string(interp, sig, &arg_flags);
     if (has_invocant) {
         VTABLE_unshift_integer(interp, arg_flags, PARROT_ARG_PMC | PARROT_ARG_INVOCANT);
+        VTABLE_unshift_pmc(interp, call_object, obj);
         if (sig[0] == 'P' && sig[1] == 'i')
             i += 2;
     }


More information about the parrot-commits mailing list