diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2022-06-10 15:02:51 +0200 |
---|---|---|
committer | Aldy Hernandez <aldyh@redhat.com> | 2022-06-30 14:46:14 +0200 |
commit | fa22c9c7a979655efaff888138107324afc510c5 (patch) | |
tree | 5984ddb70b6a5a84d452bd97003c04bc711f6ac7 /libstdc++-v3/testsuite | |
parent | 47e36785cd2ba35a577b0678a2ac185288eb9e52 (diff) |
Implement ggc_vrange_allocator.
This patch makes the vrange_allocator an abstract class, and uses it
to implement the obstack allocator as well as a new GC allocator.
The GC bits will be used to implement the vrange storage class for
global ranges, which will be contributed in the next week or so.
Tested and benchmarked on x86-64 Linux.
gcc/ChangeLog:
* gimple-range-cache.cc (block_range_cache::block_range_cache):
Rename vrange_allocator to obstack_vrange_allocator.
(ssa_global_cache::ssa_global_cache): Same.
* gimple-range-edge.h (class gimple_outgoing_range): Same.
* gimple-range-infer.h (class infer_range_manager): Same.
* value-range.h (class vrange_allocator): Make abstract.
(class obstack_vrange_allocator): Inherit from vrange_allocator.
(class ggc_vrange_allocator): New.
Diffstat (limited to 'libstdc++-v3/testsuite')
0 files changed, 0 insertions, 0 deletions