diff options
author | Brendan Kehoe <brendan@lisa.cygnus.com> | 1997-11-01 18:38:16 +0000 |
---|---|---|
committer | Brendan Kehoe <brendan@gcc.gnu.org> | 1997-11-01 13:38:16 -0500 |
commit | 5a0fa1de62991de26dd6819a0e67341cf23826c0 (patch) | |
tree | 68134d99f44a7e11224588ad3e369bd2eec4fd44 | |
parent | cf9d67e3e8aa596271353f56c49dbe6ebbe3f7ad (diff) | |
download | gcc-5a0fa1de62991de26dd6819a0e67341cf23826c0.zip gcc-5a0fa1de62991de26dd6819a0e67341cf23826c0.tar.gz gcc-5a0fa1de62991de26dd6819a0e67341cf23826c0.tar.bz2 |
except.c (expand_builtin_throw): Replace remaining use of saved_throw_type with a call to get_eh_type.
* except.c (expand_builtin_throw) [!DWARF2_UNWIND_INFO]: Replace
remaining use of saved_throw_type with a call to get_eh_type.
From-SVN: r16260
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/except.c | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 78df28f..8c88225 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +1997-11-01 Brendan Kehoe <brendan@lisa.cygnus.com> + + * except.c (expand_builtin_throw) [!DWARF2_UNWIND_INFO]: Replace + remaining use of saved_throw_type with a call to get_eh_type. + 1997-10-31 Brendan Kehoe <brendan@lisa.cygnus.com> * except.c (push_eh_info): Pass the number of fields - 1 down, not diff --git a/gcc/cp/except.c b/gcc/cp/except.c index cb59774..fe8c826 100644 --- a/gcc/cp/except.c +++ b/gcc/cp/except.c @@ -814,8 +814,9 @@ expand_builtin_throw () /* These two can be frontend specific. If wanted, they can go in expand_throw. */ /* Do we have a valid object we are throwing? */ - emit_cmp_insn (DECL_RTL (saved_throw_type), const0_rtx, EQ, NULL_RTX, - GET_MODE (DECL_RTL (saved_throw_type)), 0, 0); + t = get_eh_type (); + emit_cmp_insn (DECL_RTL (t), const0_rtx, EQ, NULL_RTX, + GET_MODE (DECL_RTL (t)), 0, 0); emit_jump_insn (gen_beq (gotta_call_terminate)); /* search for an exception handler for the saved_pc */ |