From: kenner Date: Sun, 13 Apr 1997 12:44:41 +0000 (+0000) Subject: (profile_function): Save the static chain register around the call to X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=commitdiff_plain;h=fbba02678a8e78e073fc38150e539fa931782fec (profile_function): Save the static chain register around the call to the profiler function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13865 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/final.c b/gcc/final.c index 47cc2cc6e16..162dec33443 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -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)