From: Kazu Hirata Date: Thu, 16 Apr 2009 18:39:21 +0000 (+0000) Subject: function.c (current_function_assembler_name): Remove. X-Git-Tag: releases/gcc-4.5.0~6520 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c7db7fa5ace050cbc83e047e34805769318bd423;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 28e5e3521bb5..23e981e6af5f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2009-04-16 Kazu Hirata + + * function.c (current_function_assembler_name): Remove. + * function.h: Remove the prototype for + current_function_assembler_name. + 2009-04-16 Ian Lance Taylor * rtlanal.c (alloc_reg_note): New function, broken out of diff --git a/gcc/function.c b/gcc/function.c index e8d99015e4d7..0f50a4f91889 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -5340,13 +5340,6 @@ current_function_name (void) { 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 diff --git a/gcc/function.h b/gcc/function.h index 5bee64b153f4..77b1ae813c07 100644 --- a/gcc/function.h +++ b/gcc/function.h @@ -677,8 +677,6 @@ extern rtx get_arg_pointer_save_area (void); /* Returns the name of the current function. */ 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);