From: Richard Kenner Date: Sun, 24 Dec 1995 22:44:54 +0000 (-0500) Subject: (function_epilogue): Use FUNCTION_BLOCK_PROFILER_EXIT. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=68f654ec44a0590b1d8d48a528089a1d80717759;p=gcc.git (function_epilogue): Use FUNCTION_BLOCK_PROFILER_EXIT. From-SVN: r10853 --- diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 3a40640857e..9992744c25a 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -1698,6 +1698,13 @@ function_epilogue (file, size) output_asm_insn (AS2 (add%L2,%0,%2), xops); } +#ifdef FUNCTION_BLOCK_PROFILER_EXIT + if (profile_block_flag == 2) + { + FUNCTION_BLOCK_PROFILER_EXIT(file); + } +#endif + if (current_function_pops_args && current_function_args_size) { xops[1] = GEN_INT (current_function_pops_args);