summaryrefslogtreecommitdiff
path: root/gcc/except.h
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2000-03-09 19:01:47 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2000-03-09 19:01:47 +0000
commitf929a98a102bd45c0cfd909caa136b1ea3e428b2 (patch)
tree0c173c0ea7357ad6956b8a86933712368ca50d23 /gcc/except.h
parentb9eaf89e3e8fa6c177925d01a838bafbe9036f40 (diff)
downloadgcc-f929a98a102bd45c0cfd909caa136b1ea3e428b2.tar.gz
* except.c (can_throw): See through a SEQUENCE.
(nothrow_function_p): New fn. * except.h: Declare it. * function.c (current_function_nothrow): New var. (prepare_function_start): Initialize it. * output.h: Declare it. * toplev.c (rest_of_compilation): Set it. * dwarf2out.c (dwarf2out_begin_prologue): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32449 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/except.h')
-rw-r--r--gcc/except.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/except.h b/gcc/except.h
index a1408c37ca7..1087bc1dcfe 100644
--- a/gcc/except.h
+++ b/gcc/except.h
@@ -427,6 +427,10 @@ extern struct label_node *outer_context_label_stack;
extern rtx exception_handler_labels;
+/* Return nonzero if nothing in this function can throw. */
+
+extern int nothrow_function_p PARAMS ((void));
+
/* Performs optimizations for exception handling, such as removing
unnecessary exception regions. Invoked from jump_optimize (). */