OSDN Git Service

(profile_function): Save the static chain register around the call to
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 13 Apr 1997 12:44:41 +0000 (12:44 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 13 Apr 1997 12:44:41 +0000 (12:44 +0000)
the profiler function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13865 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/final.c

index 47cc2cc..162dec3 100644 (file)
@@ -1058,7 +1058,6 @@ profile_function (file)
 #endif
 #endif
 
-#if 0
 #ifdef STATIC_CHAIN_INCOMING_REGNUM
   if (cxt)
     ASM_OUTPUT_REG_PUSH (file, STATIC_CHAIN_INCOMING_REGNUM);
@@ -1068,11 +1067,9 @@ profile_function (file)
     ASM_OUTPUT_REG_PUSH (file, STATIC_CHAIN_REGNUM);
 #endif
 #endif
-#endif                         /* 0 */
 
   FUNCTION_PROFILER (file, profile_label_no);
 
-#if 0
 #ifdef STATIC_CHAIN_INCOMING_REGNUM
   if (cxt)
     ASM_OUTPUT_REG_POP (file, STATIC_CHAIN_INCOMING_REGNUM);
@@ -1082,7 +1079,6 @@ profile_function (file)
     ASM_OUTPUT_REG_POP (file, STATIC_CHAIN_REGNUM);
 #endif
 #endif
-#endif                         /* 0 */
 
 #ifdef STRUCT_VALUE_INCOMING_REGNUM
   if (sval)