v->visit(this);
}
+ /**
+ * Get the name of the function for which this is a signature
+ */
+ const char *function_name() const;
+
/**
* Function return type.
*
*/
struct exec_list signatures;
};
+
+inline const char *ir_function_signature::function_name() const
+{
+ return function->name;
+}
/*@}*/
*/
const char *callee_name() const
{
- /* FINISHME: This only works for functions that have definitions. */
- return callee->definition->label;
+ return callee->function_name();
}
private: