aboutsummaryrefslogtreecommitdiff
path: root/gcc/value-range.h
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2023-05-24 08:49:30 -0400
committerAndrew MacLeod <amacleod@redhat.com>2023-05-24 16:40:11 -0400
commit46a594b949082fc47ced0e8278f162ddbe79db1a (patch)
tree71194489190c943f2184413966db7a10279c581d /gcc/value-range.h
parentec2e86274427a402d2de2199ba550f7295ea9b5f (diff)
downloadgcc-46a594b949082fc47ced0e8278f162ddbe79db1a.zip
gcc-46a594b949082fc47ced0e8278f162ddbe79db1a.tar.gz
gcc-46a594b949082fc47ced0e8278f162ddbe79db1a.tar.bz2
Make ssa_cache and ssa_lazy_cache virtual.
Making them virtual allows us to interchangebly use the caches. * gimple-range-cache.cc (ssa_cache::dump): Use get_range. (ssa_cache::dump_range_query): Delete. (ssa_lazy_cache::dump_range_query): Delete. (ssa_lazy_cache::get_range): Move from header file. (ssa_lazy_cache::clear_range): ditto. (ssa_lazy_cache::clear): Ditto. * gimple-range-cache.h (class ssa_cache): Virtualize. (class ssa_lazy_cache): Inherit and virtualize.
Diffstat (limited to 'gcc/value-range.h')
0 files changed, 0 insertions, 0 deletions