+1999-11-18 Mark Mitchell <mark@codesourcery.com>
+
+ * except.c (expand_end_catch_block): Fix typo.
+ (expand_exception_blocks): Simplify. Don't call
+ expand_leftover_cleanups.
+
1999-11-15 Jason Merrill <jason@casey.cygnus.com>
* cp-tree.h, decl.c (compute_array_index_type): Make nonstatic.
finish_expr_stmt (build_throw (NULL_TREE));
/* Cleanup the EH parameter. */
- finish_compound_stmt (/*has_no_scope=*/0, compound_stmt_1);
- /* Cleanup the EH object. */
finish_compound_stmt (/*has_no_scope=*/0, compound_stmt_2);
+ /* Cleanup the EH object. */
+ finish_compound_stmt (/*has_no_scope=*/0, compound_stmt_1);
}
/* An exception spec is implemented more or less like:
expand_exception_blocks ()
{
do_pending_stack_adjust ();
- push_to_sequence (catch_clauses);
- expand_leftover_cleanups ();
- do_pending_stack_adjust ();
- catch_clauses = get_insns ();
- end_sequence ();
if (catch_clauses)
{
if (exceptions_via_longjmp == 0)
expand_eh_region_end (build_terminate_handler ());
- expand_leftover_cleanups ();
-
+ emit_insns (catch_clauses);
+ catch_clauses = NULL_RTX;
emit_label (funcend);
}
}