aboutsummaryrefslogtreecommitdiff
path: root/gcc/final.c
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@cygnus.com>1998-05-14 13:39:15 +0000
committerAndrew Macleod <amacleod@gcc.gnu.org>1998-05-14 13:39:15 +0000
commit9a0d1e1b11fc8a7fd41f038d7b243b6d2573ed64 (patch)
tree210e41e74a68a515399d6c03258a484e02563706 /gcc/final.c
parent2129b0816f369ee6bf172e7065b0de137ac9c7f7 (diff)
downloadgcc-9a0d1e1b11fc8a7fd41f038d7b243b6d2573ed64.zip
gcc-9a0d1e1b11fc8a7fd41f038d7b243b6d2573ed64.tar.gz
gcc-9a0d1e1b11fc8a7fd41f038d7b243b6d2573ed64.tar.bz2
First cut of changes to utilize the new exception handling model
From-SVN: r19746
Diffstat (limited to 'gcc/final.c')
-rw-r--r--gcc/final.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/final.c b/gcc/final.c
index d45b577..89436e4 100644
--- a/gcc/final.c
+++ b/gcc/final.c
@@ -1988,7 +1988,9 @@ final_scan_insn (insn, file, optimize, prescan, nopeepholes)
&& ! exceptions_via_longjmp)
{
ASM_OUTPUT_INTERNAL_LABEL (file, "LEHB", NOTE_BLOCK_NUMBER (insn));
+#ifndef NEW_EH_MODEL
add_eh_table_entry (NOTE_BLOCK_NUMBER (insn));
+#endif
#ifdef ASM_OUTPUT_EH_REGION_BEG
ASM_OUTPUT_EH_REGION_BEG (file, NOTE_BLOCK_NUMBER (insn));
#endif
@@ -1999,6 +2001,9 @@ final_scan_insn (insn, file, optimize, prescan, nopeepholes)
&& ! exceptions_via_longjmp)
{
ASM_OUTPUT_INTERNAL_LABEL (file, "LEHE", NOTE_BLOCK_NUMBER (insn));
+#ifdef NEW_EH_MODEL
+ add_eh_table_entry (NOTE_BLOCK_NUMBER (insn));
+#endif
#ifdef ASM_OUTPUT_EH_REGION_END
ASM_OUTPUT_EH_REGION_END (file, NOTE_BLOCK_NUMBER (insn));
#endif