Commit c81b4a0e by Bernd Schmidt Committed by Bernd Schmidt

Make thread_prologue_and_epilogue_insns callable from backends.

	* function.c (thread_prologue_and_epilogue_insns): No longer static.
	* function.h (thread_prologue_and_epilogue_insns): Declare.

From-SVN: r217294
parent 0d4b5b86
......@@ -272,6 +272,9 @@
2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
* function.c (thread_prologue_and_epilogue_insns): No longer static.
* function.h (thread_prologue_and_epilogue_insns): Declare.
* target.def (assemble_undefined_decl): New hooks.
* hooks.c (hook_void_FILEptr_constcharptr_const_tree): New function.
* hooks.h (hook_void_FILEptr_constcharptr_const_tree): Declare.
......@@ -5849,7 +5849,7 @@ emit_return_for_exit (edge exit_fallthru_edge, bool simple_p)
in a sibcall omit the sibcall_epilogue if the block is not in
ANTIC. */
static void
void
thread_prologue_and_epilogue_insns (void)
{
bool inserted;
......
......@@ -902,6 +902,8 @@ extern void stack_protect_epilogue (void);
extern void expand_function_start (tree);
extern void expand_dummy_function_end (void);
extern void thread_prologue_and_epilogue_insns (void);
#ifdef RTX_CODE
extern void diddle_return_value (void (*)(rtx, void*), void*);
extern void clobber_return_register (void);
......
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