Commit b69649e4 by Richard Kenner

(output_function_epilogue): Use FUNCTION_BLOCK_PROFILER_EXIT.

From-SVN: r10854
parent 68f654ec
......@@ -302,6 +302,13 @@ output_function_epilogue (stream, size)
return;
}
#ifdef FUNCTION_BLOCK_PROFILER_EXIT
if (profile_block_flag == 2)
{
FUNCTION_BLOCK_PROFILER_EXIT (stream);
}
#endif
#ifdef FUNCTION_EXTRA_EPILOGUE
FUNCTION_EXTRA_EPILOGUE (stream, size);
#endif
......
......@@ -3012,6 +3012,13 @@ output_function_epilogue (file, size, leaf_function)
final_scan_insn (get_last_insn (), file, 0, 0, 1);
}
#ifdef FUNCTION_BLOCK_PROFILER_EXIT
else if (profile_block_flag == 2)
{
FUNCTION_BLOCK_PROFILER_EXIT(file);
}
#endif
/* Restore any call saved registers. */
if (num_gfregs)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment