diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2021-05-25 13:45:43 -0400 |
---|---|---|
committer | Andrew MacLeod <amacleod@redhat.com> | 2021-05-25 19:26:47 -0400 |
commit | 28ceee1b91f48b5ab09cbd20ea6a9de6ea137af8 (patch) | |
tree | 8978c28de8782afb704e223874dd06b0ae5d18a8 /gcc/gimple-range.h | |
parent | 41ddc5b0a6b44a9df53a259636fa3b534ae41cbe (diff) | |
download | gcc-28ceee1b91f48b5ab09cbd20ea6a9de6ea137af8.zip gcc-28ceee1b91f48b5ab09cbd20ea6a9de6ea137af8.tar.gz gcc-28ceee1b91f48b5ab09cbd20ea6a9de6ea137af8.tar.bz2 |
Change gori_compute to inherit from gori_map instead of having a gori-map.
Move the classes to the header file and inherit instead of instantiating.
* gimple-range-gori.cc (range_def_chain): Move to gimple-range-gori.h.
(gori_map): Move to gimple-range-gori.h.
(gori_compute::gori_compute): Adjust.
(gori_compute::~gori_compute): Delete.
(gori_compute::compute_operand_range_switch): Adjust.
(gori_compute::compute_operand_range): Adjust.
(gori_compute::compute_logical_operands): Adjust.
(gori_compute::has_edge_range_p ): Adjust.
(gori_compute::set_range_invariant): Delete.
(gori_compute::dump): Adjust.
(gori_compute::outgoing_edge_range_p): Adjust.
* gimple-range-gori.h (class range_def_chain): Relocate here.
(class gori_map): Relocate here.
(class gori_compute): Inherit from gori_map, and adjust.
Diffstat (limited to 'gcc/gimple-range.h')
0 files changed, 0 insertions, 0 deletions