mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-21 14:30:59 +08:00
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:
parent
a2246edcef
commit
9ffab06b25
@ -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
|
||||
|
@ -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 =
|
||||
|
Loading…
x
Reference in New Issue
Block a user