diff options
author | Mark Mitchell <mark@codesourcery.com> | 2000-05-25 23:43:43 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2000-05-25 23:43:43 +0000 |
commit | 0519ce3019d4a288ca12c3ac21086f2f0cb5e28d (patch) | |
tree | 6156335a45a8824c4127a4a8fb96fa8c5f78b50c /gcc/except.c | |
parent | 3ec6bad360a051793659af054b5ecf41318a2a8b (diff) | |
download | gcc-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.c')
-rw-r--r-- | gcc/except.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/except.c b/gcc/except.c index 627c32f..db9a58f 100644 --- a/gcc/except.c +++ b/gcc/except.c @@ -463,7 +463,6 @@ static void start_dynamic_cleanup PARAMS ((tree, tree)); static void start_dynamic_handler PARAMS ((void)); static void expand_rethrow PARAMS ((rtx)); static void output_exception_table_entry PARAMS ((FILE *, int)); -static int can_throw PARAMS ((rtx)); static rtx scan_region PARAMS ((rtx, int, int *)); static void eh_regs PARAMS ((rtx *, rtx *, rtx *, int)); static void set_insn_eh_region PARAMS ((rtx *, int)); @@ -2688,12 +2687,11 @@ free_eh_status (f) } /* This section is for the exception handling specific optimization - pass. First are the internal routines, and then the main - optimization pass. */ + pass. */ /* Determine if the given INSN can throw an exception. */ -static int +int can_throw (insn) rtx insn; { |