diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2013-10-08 12:13:13 +0000 |
---|---|---|
committer | Andrew Macleod <amacleod@gcc.gnu.org> | 2013-10-08 12:13:13 +0000 |
commit | 481d1b81534c70122187f38c26d6a19db587528f (patch) | |
tree | 535698e7a260f82134c7871c7ce81f209823f3e1 /gcc/tree.h | |
parent | 0e6a0e48eb5ead024d12453cb811bdf0ef5c3377 (diff) | |
download | gcc-481d1b81534c70122187f38c26d6a19db587528f.zip gcc-481d1b81534c70122187f38c26d6a19db587528f.tar.gz gcc-481d1b81534c70122187f38c26d6a19db587528f.tar.bz2 |
tree-flow.h: Remove some prototypes.
* tree-flow.h: Remove some prototypes.
* tree.h: Remove some protypes, add a couple.
* tree.c (using_eh_for_cleanups_flag, using_eh_for_cleanups,
using_eh_for_cleanups_p): Add interface routines for front ends.
* tree-eh.h: New file. Add protoptyes.
* tree-eh.c (using_eh_for_cleanups_p, using_eh_for_cleanups): Delete.
(add_stmt_to_eh_lp_fn): Make static.
(lower_try_finally): Use new using_eh_for_cleanups_p.
* emit-rtl.c: Include tree-eh.h.
* gimple.h: Include tree-eh.h.
From-SVN: r203273
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 11 |
1 files changed, 2 insertions, 9 deletions
@@ -4216,15 +4216,6 @@ extern rtx expand_stack_save (void); extern void expand_stack_restore (tree); extern void expand_return (tree); -/* In tree-eh.c */ -extern void using_eh_for_cleanups (void); - -extern bool tree_could_trap_p (tree); -extern bool operation_could_trap_helper_p (enum tree_code, bool, bool, bool, - bool, tree, bool *); -extern bool operation_could_trap_p (enum tree_code, bool, bool, tree); -extern bool tree_could_throw_p (tree); - /* Compare and hash for any structure which begins with a canonical pointer. Assumes all pointers are interchangeable, which is sort of already assumed by gcc elsewhere IIRC. */ @@ -4531,6 +4522,8 @@ extern bool types_same_for_odr (tree type1, tree type2); extern bool contains_bitfld_component_ref_p (const_tree); extern bool type_in_anonymous_namespace_p (tree); extern bool block_may_fallthru (const_tree); +extern void using_eh_for_cleanups (void); +extern bool using_eh_for_cleanups_p (void); /* In tree-nested.c */ extern tree build_addr (tree, tree); |