aboutsummaryrefslogtreecommitdiff
path: root/gcc/except.h
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2000-05-25 23:43:43 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2000-05-25 23:43:43 +0000
commit0519ce3019d4a288ca12c3ac21086f2f0cb5e28d (patch)
tree6156335a45a8824c4127a4a8fb96fa8c5f78b50c /gcc/except.h
parent3ec6bad360a051793659af054b5ecf41318a2a8b (diff)
downloadgcc-0519ce3019d4a288ca12c3ac21086f2f0cb5e28d.zip
gcc-0519ce3019d4a288ca12c3ac21086f2f0cb5e28d.tar.gz
gcc-0519ce3019d4a288ca12c3ac21086f2f0cb5e28d.tar.bz2
except.h (can_throw): Declare it.
* except.h (can_throw): Declare it. * except.c (can_throw): Give it external linkage. * resource.c (find_dead_or_set_registers): Use can_throw. From-SVN: r34178
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 c02507c..f4db7d2 100644
--- a/gcc/except.h
+++ b/gcc/except.h
@@ -439,6 +439,10 @@ extern struct label_node *outer_context_label_stack;
extern rtx exception_handler_labels;
+/* Determine if the given INSN can throw an exception. */
+
+extern int can_throw PARAMS ((rtx));
+
/* Return nonzero if nothing in this function can throw. */
extern int nothrow_function_p PARAMS ((void));