if (throwing_compare_p)
{
add_stmt_to_eh_lp (asgnck, lookup_stmt_eh_lp (asgn));
- make_eh_edges (asgnck);
+ make_eh_edge (asgnck);
edge ckeh;
basic_block nbb = split_edge (non_eh_succ_edge
add_stmt_to_eh_lp (stmt, lp_eh_cleanup);
/* Finally, wire the EH cleanup block into the CFG. */
- edge neeh = make_eh_edges (stmt);
+ edge neeh = make_eh_edge (stmt);
neeh->probability = profile_probability::never ();
gcc_checking_assert (neeh->dest == bb_eh_cleanup);
if (neeh->dest->count.initialized_p ())
fallthru = false;
break;
case GIMPLE_RESX:
- make_eh_edges (last);
+ make_eh_edge (last);
fallthru = false;
break;
case GIMPLE_EH_DISPATCH:
/* If this statement has reachable exception handlers, then
create abnormal edges to them. */
- make_eh_edges (last);
+ make_eh_edge (last);
/* BUILTIN_RETURN is really a return statement. */
if (gimple_call_builtin_p (last, BUILT_IN_RETURN))
/* A GIMPLE_ASSIGN may throw internally and thus be considered
control-altering. */
if (is_ctrl_altering_stmt (last))
- make_eh_edges (last);
+ make_eh_edge (last);
fallthru = true;
break;
if there is such a landing pad within the current function. */
edge
-make_eh_edges (gimple *stmt)
+make_eh_edge (gimple *stmt)
{
basic_block src, dst;
eh_landing_pad lp;
#endif
/* Verify that BB containing STMT as the last statement, has precisely the
- edge that make_eh_edges would create. */
+ edge that make_eh_edge would create. */
DEBUG_FUNCTION bool
verify_eh_edges (gimple *stmt)
extern int lookup_stmt_eh_lp_fn (struct function *, const gimple *);
extern int lookup_stmt_eh_lp (const gimple *);
extern bool make_eh_dispatch_edges (geh_dispatch *);
-extern edge make_eh_edges (gimple *);
+extern edge make_eh_edge (gimple *);
extern edge redirect_eh_edge (edge, basic_block);
extern void redirect_eh_dispatch_edge (geh_dispatch *, edge, basic_block);
extern bool operation_could_trap_helper_p (enum tree_code, bool, bool, bool,
}
else if (can_throw)
{
- make_eh_edges (copy_stmt);
+ make_eh_edge (copy_stmt);
update_probs = true;
}