darwin.c (machopic_function_base_name): Remove current_name and getting the name...
authorAndrew Pinski <pinskia@physics.uc.edu>
Tue, 30 Mar 2004 13:37:04 +0000 (13:37 +0000)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Tue, 30 Mar 2004 13:37:04 +0000 (05:37 -0800)
* config/darwin.c (machopic_function_base_name):
Remove current_name and getting the name of the
current function.

From-SVN: r80085

gcc/ChangeLog
gcc/config/darwin.c

index 3c67253a00794186e6f05f6c8f89a56ea59cac82..2ef034877dc6f92613e71d2a11bdf04917725bda 100644 (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
index dec2eb72a358aa12c93c515509c361c646acb6c7..f6e29b8c96a85b770402223995cb4a874559b97d 100644 (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 =