diff options
author | Jakub Jelinek <jakub@redhat.com> | 2020-09-04 11:55:13 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2020-09-04 11:55:13 +0200 |
commit | b898878032a5bbba0d1a981db6399664181531e9 (patch) | |
tree | 6634a835111137ac96190ee67bb9851237e429a2 /gcc/cp/expr.c | |
parent | 70d8d9bd93f7912e56a27e64abc9e1e895fe143a (diff) | |
download | gcc-b898878032a5bbba0d1a981db6399664181531e9.zip gcc-b898878032a5bbba0d1a981db6399664181531e9.tar.gz gcc-b898878032a5bbba0d1a981db6399664181531e9.tar.bz2 |
lto: Remove stream_input_location_now
As discussed yesterday, stream_input_location_now has been used in 3
remaining places. For ERT_MUST_NOT_THROW, I believe the failure_loc
location is stable at least until the apply_cache after the bbs are all
read, and the locations do not include BLOCK, so we can use normal
stream_input_location, and the two input_struct_function_base also
shouldn't include BLOCK and are stable at least until that same apply_cache
after reading all bbs, so again we can use the location cache.
2020-09-04 Jakub Jelinek <jakub@redhat.com>
* lto-streamer.h (stream_input_location_now): Remove declaration.
* lto-streamer-in.c (stream_input_location_now): Remove.
(input_eh_region, input_struct_function_base): Use
stream_input_location instead of stream_input_location_now.
Diffstat (limited to 'gcc/cp/expr.c')
0 files changed, 0 insertions, 0 deletions