diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2022-10-31 10:56:25 -0400 |
---|---|---|
committer | Andrew MacLeod <amacleod@redhat.com> | 2022-11-01 09:05:20 -0400 |
commit | 592bbe3d7eb3cff656c731e84ad872719a4a9d16 (patch) | |
tree | c6ee75816835ec69939ee948ac8edd9fbba2ba72 /gcc/rust/resolve/rust-ast-resolve-expr.cc | |
parent | 7cc2824e39440dd71a9d2832c51ef260bb36d8ca (diff) | |
download | gcc-592bbe3d7eb3cff656c731e84ad872719a4a9d16.zip gcc-592bbe3d7eb3cff656c731e84ad872719a4a9d16.tar.gz gcc-592bbe3d7eb3cff656c731e84ad872719a4a9d16.tar.bz2 |
Allow queries on exit block.
Ranger was not allowing the exit block to be queried for range_on_entry
or exit. This removes that restriction.
* gimple-range-cache.cc (ranger_cache::fill_block_cache): Allow
exit block to be specified.
(ranger_cache::range_from_dom): If exit block is specified, use
the immediate predecessor instead of the dominator to start.
* gimple-range.cc (gimple_ranger::range_on_exit): Allow query
for exit block.
Diffstat (limited to 'gcc/rust/resolve/rust-ast-resolve-expr.cc')
0 files changed, 0 insertions, 0 deletions