about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorTaylor Cramer <cramertaylorj@gmail.com>2017-04-10 00:00:08 -0700
committerNiko Matsakis <niko@alum.mit.edu>2017-04-30 17:03:30 -0400
commit73cd9bde373cc134aa2ebb6a8064d532621ca0a6 (patch)
treec27699bff217136b907b85b1cd76d6eba7089f18 /src/rustllvm/RustWrapper.cpp
parentc7dc39dbf095f04839b57a1e34afc6ab29d905d3 (diff)
downloadrust-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/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions