aboutsummaryrefslogtreecommitdiff
path: root/gcc/except.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/except.c')
-rw-r--r--gcc/except.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/gcc/except.c b/gcc/except.c
index 007c3e7..35105f9 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -251,6 +251,8 @@ struct eh_status GTY(())
rtx sjlj_fc;
rtx sjlj_exit_after;
+
+ htab_t GTY((param_is (struct throw_stmt_node))) throw_stmt_table;
};
@@ -3436,6 +3438,18 @@ output_function_exception_table (void)
current_function_section (current_function_decl);
}
+void
+set_eh_throw_stmt_table (struct function *fun, struct htab *table)
+{
+ fun->eh->throw_stmt_table = table;
+}
+
+htab_t
+get_eh_throw_stmt_table (struct function *fun)
+{
+ return fun->eh->throw_stmt_table;
+}
+
/* Dump EH information to OUT. */
void
dump_eh_tree (FILE *out, struct function *fun)