develooper Front page | perl.cvs.parrot | Postings from January 2009

[svn:parrot] r35060 - in branches/cc_restart: include/parrot src

From:
allison
Date:
January 6, 2009 10:24
Subject:
[svn:parrot] r35060 - in branches/cc_restart: include/parrot src
Message ID:
20090106182420.B6EB1CB9F9@x12.develooper.com
Author: allison
Date: Tue Jan  6 10:24:19 2009
New Revision: 35060

Modified:
   branches/cc_restart/include/parrot/inter_call.h
   branches/cc_restart/src/inter_call.c
   branches/cc_restart/src/multidispatch.c

Log:
[calling_conventions] Renaming 'Parrot_pcc_invoke_sub_from_sig_object'
to 'Parrot_pcc_invoke_from_sig_object'.


Modified: branches/cc_restart/include/parrot/inter_call.h
==============================================================================
--- branches/cc_restart/include/parrot/inter_call.h	(original)
+++ branches/cc_restart/include/parrot/inter_call.h	Tue Jan  6 10:24:19 2009
@@ -184,7 +184,7 @@
         __attribute__nonnull__(3);
 
 PARROT_EXPORT
-void Parrot_pcc_invoke_sub_from_sig_object(PARROT_INTERP,
+void Parrot_pcc_invoke_from_sig_object(PARROT_INTERP,
     ARGIN(PMC *sub_obj),
     ARGIN(PMC *sig_obj))
         __attribute__nonnull__(1)

Modified: branches/cc_restart/src/inter_call.c
==============================================================================
--- branches/cc_restart/src/inter_call.c	(original)
+++ branches/cc_restart/src/inter_call.c	Tue Jan  6 10:24:19 2009
@@ -2032,8 +2032,8 @@
 
 =item C<static void commit_last_arg_sig_object>
 
-Called by Parrot_pcc_invoke_sub_from_sig_object when it reaches the end of each
-arg in the arg signature.  See C<Parrot_pcc_invoke_sub_from_sig_object> for
+Called by Parrot_pcc_invoke_from_sig_object when it reaches the end of each
+arg in the arg signature.  See C<Parrot_pcc_invoke_from_sig_object> for
 signature syntax.
 
 =cut
@@ -2088,7 +2088,7 @@
             default:
                 Parrot_ex_throw_from_c_args(interp, NULL,
                     EXCEPTION_INVALID_OPERATION,
-                    "Parrot_pcc_invoke_sub_from_sig_object: invalid reg type");
+                    "Parrot_pcc_invoke_from_sig_object: invalid reg type");
         }
     }
 }
@@ -2146,7 +2146,7 @@
                 default:
                     Parrot_ex_throw_from_c_args(interp, NULL,
                         EXCEPTION_INVALID_OPERATION,
-                        "Parrot_pcc_invoke_sub_from_sig_object: invalid reg type %c!", *x);
+                        "Parrot_pcc_invoke_from_sig_object: invalid reg type %c!", *x);
             }
 
             /* invalidate the CPointer's pointers so that GC doesn't try to
@@ -2228,7 +2228,7 @@
 
 Sets the subroutine arguments in the C<ctx> context, according to the
 signature string C<signature>. Currently this function is only called
-from C<Parrot_pcc_invoke_sub_from_sig_object>, but eventually when
+from C<Parrot_pcc_invoke_from_sig_object>, but eventually when
 things are unified enough it should be called from C<Parrot_PCCINVOKE>
 as well. The only difference currently between the two implementations
 are the calls to C<commit_last_arg_sig_object> and C<commit_last_arg>.
@@ -2296,7 +2296,7 @@
                 default:
                   Parrot_ex_throw_from_c_args(interp, NULL,
                     EXCEPTION_INVALID_OPERATION,
-                    "Parrot_pcc_invoke_sub_from_sig_object: invalid reg type %c!", *x);
+                    "Parrot_pcc_invoke_from_sig_object: invalid reg type %c!", *x);
             }
 
         }
@@ -2311,7 +2311,7 @@
                 default:
                     Parrot_ex_throw_from_c_args(interp, NULL,
                         EXCEPTION_INVALID_OPERATION,
-                        "Parrot_pcc_invoke_sub_from_sig_object: invalid adverb type %c!", *x);
+                        "Parrot_pcc_invoke_from_sig_object: invalid adverb type %c!", *x);
             }
         }
     }
@@ -2350,7 +2350,7 @@
     sig_obj = Parrot_build_sig_object_from_varargs(interp, PMCNULL, sig, args);
     va_end(args);
 
-    Parrot_pcc_invoke_sub_from_sig_object(interp, sub_obj, sig_obj);
+    Parrot_pcc_invoke_from_sig_object(interp, sub_obj, sig_obj);
     dod_unregister_pmc(interp, sig_obj);
 }
 
@@ -2579,7 +2579,7 @@
 
 /*
 
-=item C<void Parrot_pcc_invoke_sub_from_sig_object>
+=item C<void Parrot_pcc_invoke_from_sig_object>
 
 Follows the same conventions as C<Parrot_PCCINVOKE>, but the subroutine object
 to invoke is passed as an argument rather than looked up by name, and the
@@ -2591,7 +2591,7 @@
 
 PARROT_EXPORT
 void
-Parrot_pcc_invoke_sub_from_sig_object(PARROT_INTERP, ARGIN(PMC *sub_obj),
+Parrot_pcc_invoke_from_sig_object(PARROT_INTERP, ARGIN(PMC *sub_obj),
         ARGIN(PMC *sig_obj))
 {
 #define PCC_ARG_MAX 1024

Modified: branches/cc_restart/src/multidispatch.c
==============================================================================
--- branches/cc_restart/src/multidispatch.c	(original)
+++ branches/cc_restart/src/multidispatch.c	Tue Jan  6 10:24:19 2009
@@ -504,7 +504,7 @@
             string_to_cstring(interp, VTABLE_name(interp, sub)));
 #endif
 
-    Parrot_pcc_invoke_sub_from_sig_object(interp, sub, sig_object);
+    Parrot_pcc_invoke_from_sig_object(interp, sub, sig_object);
     dod_unregister_pmc(interp, sig_object);
 }
 



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About