about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorLukas Wirth <lukastw97@gmail.com>2022-09-02 16:57:31 +0200
committerLukas Wirth <lukastw97@gmail.com>2022-09-02 17:02:12 +0200
commit8828049b2398b0df3bfc76d06bcf5154cdbe536a (patch)
tree1ab88cda6240aab7f704bb22aeba0c7aceb3cf6f /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent2bb6635a852aefe4f1151352f0b11e3a9e2f5b6d (diff)
downloadrust-8828049b2398b0df3bfc76d06bcf5154cdbe536a.tar.gz
rust-8828049b2398b0df3bfc76d06bcf5154cdbe536a.zip
Lift out the module scope into a field in the Resolver
A Resolver *always* has a module scope at the end of its scope stack,
instead of encoding this as an invariant we can just lift this scope
out into a field, allowing us to skip going through the scope vec
indirection entirely.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions