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
This commit is contained in:
parent
cf9d67e3e8
commit
5a0fa1de62
2 changed files with 8 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Add table
Reference in a new issue