diff options
| author | Taylor Cramer <cramertaylorj@gmail.com> | 2017-04-10 00:00:08 -0700 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2017-04-30 17:03:30 -0400 |
| commit | 73cd9bde373cc134aa2ebb6a8064d532621ca0a6 (patch) | |
| tree | c27699bff217136b907b85b1cd76d6eba7089f18 /src/test/incremental/thinlto | |
| parent | c7dc39dbf095f04839b57a1e34afc6ab29d905d3 (diff) | |
| download | rust-73cd9bde373cc134aa2ebb6a8064d532621ca0a6.tar.gz rust-73cd9bde373cc134aa2ebb6a8064d532621ca0a6.zip | |
introduce per-fn RegionMaps
Instead of requesting the region maps for the entire crate, request for a given item etc. Several bits of code were modified to take `&RegionMaps` as input (e.g., the `resolve_regions_and_report_errors()` function). I am not totally happy with this setup -- I *think* I'd rather have the region maps be part of typeck tables -- but at least the `RegionMaps` works in a "parallel" way to `FreeRegionMap`, so it's not too bad. Given that I expect a lot of this code to go away with NLL, I didn't want to invest *too* much energy tweaking it.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
