aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.h
diff options
context:
space:
mode:
authorSteven Bosscher <steven@gcc.gnu.org>2012-09-11 22:39:34 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2012-09-11 22:39:34 +0000
commit9a1b6b7a98ebcbdfd4210edde604293e03ed6eba (patch)
treeb469cd6db72a4e79549037180afa5a93d3451b03 /gcc/expr.h
parent73072611358be40e7201e5dc8c5d26e22e22febb (diff)
downloadgcc-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.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/expr.h b/gcc/expr.h
index 68cdb8d..f63b8f3 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 */