Author: Whiteknight
Date: Sun Nov 30 07:34:17 2008
New Revision: 33368
Modified:
branches/call_conv_redux/include/parrot/inter_call.h
branches/call_conv_redux/src/inter_call.c
branches/call_conv_redux/src/multidispatch.c
Log:
[call_conv_redux] Rename Parrot_pcc_invoke_sub_from_sig_object to
Parrot_pcc_invoke_from_sig_object
Modified: branches/call_conv_redux/include/parrot/inter_call.h
==============================================================================
--- branches/call_conv_redux/include/parrot/inter_call.h (original)
+++ branches/call_conv_redux/include/parrot/inter_call.h Sun Nov 30
07:34:17 2008
@@ -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/call_conv_redux/src/inter_call.c
==============================================================================
--- branches/call_conv_redux/src/inter_call.c (original)
+++ branches/call_conv_redux/src/inter_call.c Sun Nov 30 07:34:17 2008
@@ -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/call_conv_redux/src/multidispatch.c
==============================================================================
--- branches/call_conv_redux/src/multidispatch.c (original)
+++ branches/call_conv_redux/src/multidispatch.c Sun Nov 30 07:34:17 2008
@@ -590,7 +590,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);
}