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

chromatic at svn.parrot.org chromatic at svn.parrot.org
Mon Mar 15 18:53:46 UTC 2010


Author: chromatic
Date: Mon Mar 15 18:53:42 2010
New Revision: 44942
URL: https://trac.parrot.org/parrot/changeset/44942

Log:
[PCC] Removed invocant unshifting from Parrot_pcc_build_sig_object_from_op(),
which was the source of many failing tests.  There's something still odd here,
but many, many more tests pass than fail now.  We need a different approach.

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	Mon Mar 15 17:47:45 2010	(r44941)
+++ branches/pcc_hackathon_6Mar10/src/call/args.c	Mon Mar 15 18:53:42 2010	(r44942)
@@ -514,17 +514,6 @@
     GETATTR_FixedIntegerArray_size(interp, raw_sig, arg_count);
     GETATTR_FixedIntegerArray_int_array(interp, raw_sig, int_array);
 
-    if (!PMC_IS_NULL(interp->current_object)) {
-        VTABLE_unshift_pmc(interp, call_object, interp->current_object);
-        if (int_array[0] & (PARROT_ARG_PMC | PARROT_ARG_INVOCANT))
-            arg_index++;
-        else {
-            new_sig = Parrot_pmc_new(interp, enum_class_ResizablePMCArray);
-            VTABLE_unshift_integer(interp, new_sig, PARROT_ARG_PMC | PARROT_ARG_INVOCANT);
-        }
-        interp->current_object = NULL;
-    }
-
     if (PMC_IS_NULL(new_sig)) {
         SETATTR_CallContext_arg_flags(interp, call_object, raw_sig);
     }


More information about the parrot-commits mailing list