From: Bernd Schmidt Date: Mon, 10 Nov 2014 16:12:30 +0000 (+0000) Subject: Make thread_prologue_and_epilogue_insns callable from backends. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c81b4a0e83c8577ba09767ded86f715b6fcd21b4;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4dc83d3f5ad..731a7bc8b45 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -272,6 +272,9 @@ 2014-11-06 Bernd Schmidt + * 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. diff --git a/gcc/function.c b/gcc/function.c index 0ffff5b77bc..6bdb500baeb 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -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; diff --git a/gcc/function.h b/gcc/function.h index 326e24b201a..3a6305ca700 100644 --- a/gcc/function.h +++ b/gcc/function.h @@ -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);