aboutsummaryrefslogtreecommitdiff
path: root/gcc/except.h
diff options
context:
space:
mode:
authorStuart Hastings <stuart@apple.com>2002-08-25 05:21:11 +0000
committerStan Shebs <shebs@gcc.gnu.org>2002-08-25 05:21:11 +0000
commitb6128b8c319487d4ecb240a211c0af9f6a4c2659 (patch)
tree3380fca11b3c1b6f649fb9a54c3af4eb23ad8090 /gcc/except.h
parent13d3f0b659c7db21e006e8d2894c93707a95583d (diff)
downloadgcc-b6128b8c319487d4ecb240a211c0af9f6a4c2659.zip
gcc-b6128b8c319487d4ecb240a211c0af9f6a4c2659.tar.gz
gcc-b6128b8c319487d4ecb240a211c0af9f6a4c2659.tar.bz2
function.h (struct function): Add flag all_throwers_are_sibcalls.
2002-08-24 Stuart Hastings <stuart@apple.com> * function.h (struct function): Add flag all_throwers_are_sibcalls. * except.c (set_nothrow_function_flags): Replaces nothrow_function_p. Set new flag. * except.h (set_nothrow_function_flags): Replaces nothrow_function_p. * dwarf2out.c (struct dw_fde_struct): Add flag all_throwers_are_sibcalls. (output_call_frame_info): Test it. (dwarf2out_begin_prologue) Propagate it from cfun to dw_fde_struct. * toplev.c (rest_of_compilation): Update calls to nothrow_function_p. From-SVN: r56561
Diffstat (limited to 'gcc/except.h')
-rw-r--r--gcc/except.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/except.h b/gcc/except.h
index ce91051..034ce51 100644
--- a/gcc/except.h
+++ b/gcc/except.h
@@ -91,8 +91,8 @@ extern void for_each_eh_label PARAMS ((void (*) (rtx)));
extern bool can_throw_internal PARAMS ((rtx));
extern bool can_throw_external PARAMS ((rtx));
-/* Return nonzero if nothing in this function can throw. */
-extern bool nothrow_function_p PARAMS ((void));
+/* Set current_function_nothrow and cfun->all_throwers_are_sibcalls. */
+extern void set_nothrow_function_flags PARAMS ((void));
/* After initial rtl generation, call back to finish generating
exception support code. */