Commit c7db7fa5 by Kazu Hirata Committed by Kazu Hirata

function.c (current_function_assembler_name): Remove.

	* function.c (current_function_assembler_name): Remove.
	* function.h: Remove the prototype for
	current_function_assembler_name.

From-SVN: r146209
parent 167be6eb
2009-04-16 Kazu Hirata <kazu@codesourcery.com>
* function.c (current_function_assembler_name): Remove.
* function.h: Remove the prototype for
current_function_assembler_name.
2009-04-16 Ian Lance Taylor <iant@google.com> 2009-04-16 Ian Lance Taylor <iant@google.com>
* rtlanal.c (alloc_reg_note): New function, broken out of * rtlanal.c (alloc_reg_note): New function, broken out of
......
...@@ -5340,13 +5340,6 @@ current_function_name (void) ...@@ -5340,13 +5340,6 @@ current_function_name (void)
{ {
return lang_hooks.decl_printable_name (cfun->decl, 2); return lang_hooks.decl_printable_name (cfun->decl, 2);
} }
/* Returns the raw (mangled) name of the current function. */
const char *
current_function_assembler_name (void)
{
return IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (cfun->decl));
}
static unsigned int static unsigned int
......
...@@ -677,8 +677,6 @@ extern rtx get_arg_pointer_save_area (void); ...@@ -677,8 +677,6 @@ extern rtx get_arg_pointer_save_area (void);
/* Returns the name of the current function. */ /* Returns the name of the current function. */
extern const char *current_function_name (void); extern const char *current_function_name (void);
/* Returns the assembler name (raw, mangled) of the current function. */
extern const char *current_function_assembler_name (void);
extern void do_warn_unused_parameter (tree); extern void do_warn_unused_parameter (tree);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment