summaryrefslogtreecommitdiffstats
path: root/gcc/integrate.c
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>1999-09-14 23:51:34 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>1999-09-14 23:51:34 +0000
commitcc1029120ede29c645d0a844e7c3a323aae23e38 (patch)
tree8265802fe38fd0aedf6ff678f8e5899e057f140b /gcc/integrate.c
parenta38f1d6cf52aaf70253919ffa2ac2d045c4b776e (diff)
downloadppe42-gcc-cc1029120ede29c645d0a844e7c3a323aae23e38.tar.gz
ppe42-gcc-cc1029120ede29c645d0a844e7c3a323aae23e38.zip
* except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
not NOTE_BLOCK_NUMBER. (expand_eh_region_end): Likewise. (find_exception_handler_labels): Likewise. (scan_region): Likewise. (exception_optimize): Likewise. (update_rethrow_references): Likewise. (set_insn_eh_region): Likewise. * final.c (final_scan_insn): Likewise. * flow.c (make_edges): Likewise. * integrate.c (expand_inline_function): Likewise. * print-rtl.c (print_rtx): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29418 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/integrate.c')
-rw-r--r--gcc/integrate.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/integrate.c b/gcc/integrate.c
index d5699565a86..0ffa2b3565b 100644
--- a/gcc/integrate.c
+++ b/gcc/integrate.c
@@ -1217,7 +1217,7 @@ expand_inline_function (fndecl, parms, target, ignore, type,
|| NOTE_LINE_NUMBER (copy) == NOTE_INSN_EH_REGION_END))
{
rtx label
- = get_label_from_map (map, NOTE_BLOCK_NUMBER (copy));
+ = get_label_from_map (map, NOTE_EH_HANDLER (copy));
/* we have to duplicate the handlers for the original */
if (NOTE_LINE_NUMBER (copy) == NOTE_INSN_EH_REGION_BEG)
@@ -1225,14 +1225,14 @@ expand_inline_function (fndecl, parms, target, ignore, type,
/* We need to duplicate the handlers for the EH region
and we need to indicate where the label map is */
eif_eh_map = map;
- duplicate_eh_handlers (NOTE_BLOCK_NUMBER (copy),
+ duplicate_eh_handlers (NOTE_EH_HANDLER (copy),
CODE_LABEL_NUMBER (label),
expand_inline_function_eh_labelmap);
}
/* We have to forward these both to match the new exception
region. */
- NOTE_BLOCK_NUMBER (copy) = CODE_LABEL_NUMBER (label);
+ NOTE_EH_HANDLER (copy) = CODE_LABEL_NUMBER (label);
}
}
else
OpenPOWER on IntegriCloud