diff options
author | Alexandre Oliva <oliva@adacore.com> | 2023-10-20 00:35:17 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2023-10-20 00:35:17 -0300 |
commit | df252e0f254638c44034f1879db34286c88a92c2 (patch) | |
tree | 0d1165a3815946e5a0156bb0cf8b23b4c6aa7626 /libgcc | |
parent | 1d260ab0e39ea63644e3af3ab2e0db946026b5a6 (diff) | |
download | gcc-df252e0f254638c44034f1879db34286c88a92c2.zip gcc-df252e0f254638c44034f1879db34286c88a92c2.tar.gz gcc-df252e0f254638c44034f1879db34286c88a92c2.tar.bz2 |
return edge in make_eh_edges
The need to initialize edge probabilities has made make_eh_edges
undesirably hard to use. I suppose we don't want make_eh_edges to
initialize the probability of the newly-added edge itself, so that the
caller takes care of it, but identifying the added edge in need of
adjustments is inefficient and cumbersome. Change make_eh_edges so
that it returns the added edge.
for gcc/ChangeLog
* tree-eh.cc (make_eh_edges): Return the new edge.
* tree-eh.h (make_eh_edges): Likewise.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions