diff options
author | Alexandre Oliva <oliva@adacore.com> | 2023-10-26 03:06:05 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2023-10-26 03:06:05 -0300 |
commit | 2f398d148a793282d11f9ab63da987728c2daf4f (patch) | |
tree | ceb7b383a567aa351225bad9a7bfe9ec196ddff6 /gcc/tree-cfg.cc | |
parent | f75fc1f08337fdf9034b041b113835b456ca37bf (diff) | |
download | gcc-2f398d148a793282d11f9ab63da987728c2daf4f.zip gcc-2f398d148a793282d11f9ab63da987728c2daf4f.tar.gz gcc-2f398d148a793282d11f9ab63da987728c2daf4f.tar.bz2 |
rename make_eh_edges to make_eh_edge
Since make_eh_edges creates at most one edge, rename it to
make_eh_edge.
for gcc/ChangeLog
* tree-eh.h (make_eh_edges): Rename to...
(make_eh_edge): ... this.
* tree-eh.cc: Likewise. Adjust all callers...
* gimple-harden-conditionals.cc: ... here, ...
* gimple-harden-control-flow.cc: ... here, ...
* tree-cfg.cc: ... here, ...
* tree-inline.cc: ... and here.
Diffstat (limited to 'gcc/tree-cfg.cc')
-rw-r--r-- | gcc/tree-cfg.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/tree-cfg.cc b/gcc/tree-cfg.cc index ffeb20b..40a6f2a 100644 --- a/gcc/tree-cfg.cc +++ b/gcc/tree-cfg.cc @@ -878,7 +878,7 @@ make_edges_bb (basic_block bb, struct omp_region **pcur_region, int *pomp_index) fallthru = false; break; case GIMPLE_RESX: - make_eh_edges (last); + make_eh_edge (last); fallthru = false; break; case GIMPLE_EH_DISPATCH: @@ -894,7 +894,7 @@ make_edges_bb (basic_block bb, struct omp_region **pcur_region, int *pomp_index) /* 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)) @@ -911,7 +911,7 @@ make_edges_bb (basic_block bb, struct omp_region **pcur_region, int *pomp_index) /* 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; |