about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorGary Guo <gary@garyguo.net>2021-10-13 21:20:10 +0100
committerGary Guo <gary@garyguo.net>2022-01-07 22:55:34 +0000
commit48258ffe5af8a8fc2926e9e0bb8dc857ad8bfed6 (patch)
tree0320699e541e9a70e0cb85d3478aa65b384d55f8 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent3698e03fb60893786843df01b50dc8326f6c5c5a (diff)
downloadrust-48258ffe5af8a8fc2926e9e0bb8dc857ad8bfed6.tar.gz
rust-48258ffe5af8a8fc2926e9e0bb8dc857ad8bfed6.zip
Remove region from UpvarCapture and move it to CapturedPlace
Region info is completely unnecessary for upvar capture kind computation
and is only needed to create the final upvar tuple ty. Doing so makes
creation of UpvarCapture very cheap and expose further cleanup opportunity.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions