From bf6102ae18353af8e717f549a58acd2a2ab46285 Mon Sep 17 00:00:00 2001 From: steven Date: Fri, 4 Jun 2004 12:31:26 +0000 Subject: * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82622 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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 2fed79f30fb..4c596a9df11 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.2.1