]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
function.c (current_function_assembler_name): Remove.
authorKazu Hirata <kazu@codesourcery.com>
Thu, 16 Apr 2009 18:39:21 +0000 (18:39 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Thu, 16 Apr 2009 18:39:21 +0000 (18:39 +0000)
* function.c (current_function_assembler_name): Remove.
* function.h: Remove the prototype for
current_function_assembler_name.

From-SVN: r146209

gcc/ChangeLog
gcc/function.c
gcc/function.h

index 28e5e3521bb571ba647c395cafafe341c1f9bfd9..23e981e6af5fb9e946791c4b0e9359cfd279caf4 100644 (file)
@@ -1,3 +1,9 @@
+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>
 
        * rtlanal.c (alloc_reg_note): New function, broken out of
index e8d99015e4d78155c6b90b1d5dff795703efa073..0f50a4f91889b6d2fa4d600d837821ac9c0a9bab 100644 (file)
@@ -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));
-}
 \f
 
 static unsigned int
index 5bee64b153f47ac91cae9a0b284a355803361c88..77b1ae813c070eb50fddb5684c63bc4f2a102159 100644 (file)
@@ -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);