aop_assert (0);
}
+/**
+ * Get a pointcut with the entry to the current function. Generally a
+ * pointcut is a set of join points, but because a given function has
+ * only one entry point, the pointcut returned by this function will
+ * have exactly one join point.
+ * \return The resulting pointcut.
+ */
struct aop_pointcut *
aop_match_function_entry ()
{
gsi_insert_before (jp->gsi, nop, GSI_NEW_STMT);
}
+/**
+ * Get a pointcut matching exit points in the current function, which
+ * include explicit return statements and the implicit exit at the end
+ * of the function.
+ * \return The resulting pointcut.
+ */
struct aop_pointcut *
aop_match_function_exit ()
{