diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2024-05-06 12:04:24 -0400 |
---|---|---|
committer | Andrew MacLeod <amacleod@redhat.com> | 2024-05-23 16:48:44 -0400 |
commit | 76153635b9dc811b3ddc2c2e028d74c92d174c2e (patch) | |
tree | 1b3c95993228b578ee81fddb5a7e60fa26698b41 /gcc/tree-ssa-threadedge.cc | |
parent | efc4255d4393cba3d2232a7152799e1b161c3062 (diff) | |
download | gcc-76153635b9dc811b3ddc2c2e028d74c92d174c2e.zip gcc-76153635b9dc811b3ddc2c2e028d74c92d174c2e.tar.gz gcc-76153635b9dc811b3ddc2c2e028d74c92d174c2e.tar.bz2 |
Default gimple_outgoing_range to not process switches.
Change the default constructor to not process switches, add method to
enable/disable switch processing.
* gimple-range-edge.cc (gimple_outgoing_range::gimple_outgoing_range):
Do not allocate a range allocator at construction time.
(gimple_outgoing_range::~gimple_outgoing_range): Delete allocator
if one was allocated.
(gimple_outgoing_range::set_switch_limit): New.
(gimple_outgoing_range::switch_edge_range): Create an allocator if one
does not exist.
(gimple_outgoing_range::edge_range_p): Check for zero edges.
* gimple-range-edge.h (class gimple_outgoing_range): Adjust prototypes.
Diffstat (limited to 'gcc/tree-ssa-threadedge.cc')
0 files changed, 0 insertions, 0 deletions