diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2021-05-25 14:34:06 -0400 |
---|---|---|
committer | Andrew MacLeod <amacleod@redhat.com> | 2021-05-25 19:28:04 -0400 |
commit | 10b286ce335cca135a45a92581b28146f3e3209b (patch) | |
tree | 2356e23c0318dd35fee1158ceab4dfb2d1b4112f /gcc/gimple-range.h | |
parent | c21644704160710a17d1ea6c1cd212e079cd5e36 (diff) | |
download | gcc-10b286ce335cca135a45a92581b28146f3e3209b.zip gcc-10b286ce335cca135a45a92581b28146f3e3209b.tar.gz gcc-10b286ce335cca135a45a92581b28146f3e3209b.tar.bz2 |
Unify temporal cache with gori dependencies.
Move the temporal cache to strictly be a timestamp, and query GORI for
the dependencies rather than trying to register and maintain them.
* gimple-range-cache.cc (struct range_timestamp): Delete.
(class temporal_cache): Adjust.
(temporal_cache::get_timestamp): Delete.
(temporal_cache::set_dependency): Delete.
(temporal_cache::temporal_value): Adjust.
(temporal_cache::current_p): Take dependencies as params.
(temporal_cache::set_timestamp): Adjust.
(temporal_cache::set_always_current): Adjust.
(ranger_cache::get_non_stale_global_range): Adjust.
(ranger_cache::register_dependency): Delete.
* gimple-range-cache.h (class range_cache): Adjust.
Diffstat (limited to 'gcc/gimple-range.h')
0 files changed, 0 insertions, 0 deletions