summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-16 18:39:21 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-16 18:39:21 +0000
commitee8f5f57f33bda74fb970ce5e42edfe71cc97051 (patch)
tree052a782a34b2a9c6dfea4a0e7dcb9bc8463a136c
parentdfa82bcae61f0de612fac046a575d861ae0b7ce8 (diff)
downloadppe42-gcc-ee8f5f57f33bda74fb970ce5e42edfe71cc97051.tar.gz
ppe42-gcc-ee8f5f57f33bda74fb970ce5e42edfe71cc97051.zip
* function.c (current_function_assembler_name): Remove.
* function.h: Remove the prototype for current_function_assembler_name. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146209 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/function.c7
-rw-r--r--gcc/function.h2
3 files changed, 6 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 28e5e3521bb..23e981e6af5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/function.c b/gcc/function.c
index e8d99015e4d..0f50a4f9188 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 5bee64b153f..77b1ae813c0 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);
OpenPOWER on IntegriCloud