gimple func_call;
struct aop_pointcut *pc;
- va_start (argp, location);
- func_call = build_gcc_call (func_name, void_type_node, argp);
- va_end (argp);
-
pc = jp->pc;
/* Make sure this joinpoint is prepared for advice. */
jp->is_prepared = true;
}
+ va_start (argp, location);
+ func_call = build_gcc_call (func_name, void_type_node, argp);
+ va_end (argp);
+
if(location == AOP_INSERT_BEFORE)
pc->insert_before(jp, func_call);
else if(location == AOP_INSERT_AFTER)
pc->insert_after(jp, func_call);
- pc = jp->pc;
+
}