Commit 5a0fa1de by Brendan Kehoe Committed by Brendan Kehoe

except.c (expand_builtin_throw): Replace remaining use of saved_throw_type with…

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
parent cf9d67e3
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
......
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment