diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2009-04-16 18:39:21 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2009-04-16 18:39:21 +0000 |
commit | c7db7fa5ace050cbc83e047e34805769318bd423 (patch) | |
tree | 052a782a34b2a9c6dfea4a0e7dcb9bc8463a136c | |
parent | 167be6eb06817b20448e4beb1483d01218642d2f (diff) | |
download | gcc-c7db7fa5ace050cbc83e047e34805769318bd423.zip gcc-c7db7fa5ace050cbc83e047e34805769318bd423.tar.gz gcc-c7db7fa5ace050cbc83e047e34805769318bd423.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/function.c | 7 | ||||
-rw-r--r-- | gcc/function.h | 2 |
3 files changed, 6 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 28e5e35..23e981e 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 e8d9901..0f50a4f 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 5bee64b..77b1ae8 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); |