diff options
author | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-09-11 22:39:34 +0000 |
---|---|---|
committer | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-09-11 22:39:34 +0000 |
commit | af68b5a980f0ba5327c5f14e2cf971cc05c6804f (patch) | |
tree | b469cd6db72a4e79549037180afa5a93d3451b03 /gcc/expr.h | |
parent | 1bb628744951d407506be46b69b650d69fcd075d (diff) | |
download | gcc-af68b5a980f0ba5327c5f14e2cf971cc05c6804f.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@191203 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expr.h')
-rw-r--r-- | gcc/expr.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/expr.h b/gcc/expr.h index 68cdb8d9109..f63b8f3052d 100644 --- a/gcc/expr.h +++ b/gcc/expr.h @@ -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 */ |