darwin.c (machopic_function_base_name): Remove current_name and getting the name of the current function.

* config/darwin.c (machopic_function_base_name):
	Remove current_name and getting the name of the
	current function.

From-SVN: r80085
This commit is contained in:
Andrew Pinski 2004-03-30 13:37:04 +00:00 committed by Andrew Pinski
parent a2246edcef
commit 9ffab06b25
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2004-03-30 Andrew Pinski <pinskia@physics.uc.edu>
* config/darwin.c (machopic_function_base_name):
Remove current_name and getting the name of the
current function.
2004-03-30 Nick Clifton <nickc@redhat.com>
* config/arm/arm.md (thumb_jump): Reduce the backward branch

View File

@ -221,12 +221,9 @@ static GTY(()) char * function_base;
const char *
machopic_function_base_name (void)
{
const char *current_name;
/* if dynamic-no-pic is on, we should not get here */
if (MACHO_DYNAMIC_NO_PIC_P)
abort ();
current_name =
IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (current_function_decl));
if (function_base == NULL)
function_base =