diff options
author | Steven Bosscher <steven@gcc.gnu.org> | 2012-09-11 22:39:34 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2012-09-11 22:39:34 +0000 |
commit | 9a1b6b7a98ebcbdfd4210edde604293e03ed6eba (patch) | |
tree | b469cd6db72a4e79549037180afa5a93d3451b03 /gcc/expr.h | |
parent | 73072611358be40e7201e5dc8c5d26e22e22febb (diff) | |
download | gcc-9a1b6b7a98ebcbdfd4210edde604293e03ed6eba.zip gcc-9a1b6b7a98ebcbdfd4210edde604293e03ed6eba.tar.gz gcc-9a1b6b7a98ebcbdfd4210edde604293e03ed6eba.tar.bz2 |
tree.h (expand_case): Move prototype ...
* tree.h (expand_case): Move prototype ...
* expr.h (expand_case): ...here.
(expand_sjlj_dispatch_table): New prototype.
* stmt.c: Include pointer-set.h instead of bitmap.h.
(expand_case): Use a pointer set instead of a bitmap for
already-seen labels. Fold label values here.
(add_case_node): Don't fold label values here.
(expand_sjlj_dispatch_table): New function.
* except.c (sjlj_emit_dispatch_table): Use it.
From-SVN: r191203
Diffstat (limited to 'gcc/expr.h')
-rw-r--r-- | gcc/expr.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -721,4 +721,13 @@ extern tree build_libfunc_function (const char *); /* Get the personality libfunc for a function decl. */ rtx get_personality_function (tree); + +/* In stmt.c */ + +/* Expand a GIMPLE_SWITCH statement. */ +extern void expand_case (gimple); + +/* Like expand_case but special-case for SJLJ exception dispatching. */ +extern void expand_sjlj_dispatch_table (rtx, VEC(tree,heap) *); + #endif /* GCC_EXPR_H */ |