From f698d2175aa01ae5be342ac6ea6d09366b8b36a4 Mon Sep 17 00:00:00 2001 From: Steven Bosscher Date: Fri, 4 Jun 2004 12:31:26 +0000 Subject: except.c (for_each_eh_region): New function. * except.c (for_each_eh_region): New function. * except.h (for_each_eh_region): Add a prototype for it. * tree-cfg.c (update_eh_labels): New function, callback for for_each_eh_region. (label_for_bb): Make global static, unfortunately. (cleanup_dead_labels): Also update label references for exception regions. From-SVN: r82622 --- gcc/except.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gcc/except.h') diff --git a/gcc/except.h b/gcc/except.h index 2fed79f..4c596a9 100644 --- a/gcc/except.h +++ b/gcc/except.h @@ -90,6 +90,9 @@ extern void note_current_region_may_contain_throw (void); loop hackery; should not be used by new code. */ extern void for_each_eh_label (void (*) (rtx)); +/* Invokes CALLBACK for every exception region in the current function. */ +extern void for_each_eh_region (void (*) (struct eh_region *)); + /* Determine if the given INSN can throw an exception. */ extern bool can_throw_internal_1 (int); extern bool can_throw_internal (rtx); -- cgit v1.1