Renamed aop_do_weave() function to aop_insert_advice().
authorJustin Seyster <jseyster@cs.sunysb.edu>
Mon, 22 Mar 2010 23:58:43 +0000 (19:58 -0400)
committerJustin Seyster <jseyster@cs.sunysb.edu>
Mon, 22 Mar 2010 23:58:43 +0000 (19:58 -0400)
src/aop-weave.c
src/aop.h

index fa1db8895c867c51cce66294f3df5101301be536..c6ad9b03bbfabf8c0a093dc7fdd5a0f5a01224e9 100644 (file)
@@ -116,7 +116,7 @@ build_gcc_call (const char *func_name, tree return_type, va_list argp)
 }
 
 void
-aop_do_weave (struct aop_joinpoint *jp, const char *func_name, ...)
+aop_insert_advice (struct aop_joinpoint *jp, const char *func_name, ...)
 {
   va_list argp;
   gimple func_call;
index 17050e944feca2f07b2c5f6163b7e18530e9c0a9..b355ade1781c2872cb570e97a79fbfe20b74eb6b 100644 (file)
--- a/src/aop.h
+++ b/src/aop.h
@@ -59,7 +59,7 @@ extern struct aop_pointcut *aop_match_assignment_by_type (
 
 extern const char *aop_capture_lhs_name (struct aop_joinpoint *jp);
 
-extern void aop_do_weave (struct aop_joinpoint *jp, const char *name, ...);
+extern void aop_insert_advice (struct aop_joinpoint *jp, const char *name, ...);
 
 extern const struct aop_type *aop_t_all_signed ();
 extern const struct aop_type *aop_t_all_unsigned ();
@@ -73,7 +73,7 @@ extern void aop_main ();
 extern void aop_abort (const char *filename, int lineno, const char *function)
   __attribute__((noreturn));
 
-/* Fancy macro magic used for the varargs component of do_weave
+/* Fancy macro magic used for the varargs component of insert_advice
    functions. */
 
 enum aop_argkind {