diff options
| author | Lukas Wirth <lukastw97@gmail.com> | 2022-09-02 16:57:31 +0200 |
|---|---|---|
| committer | Lukas Wirth <lukastw97@gmail.com> | 2022-09-02 17:02:12 +0200 |
| commit | 8828049b2398b0df3bfc76d06bcf5154cdbe536a (patch) | |
| tree | 1ab88cda6240aab7f704bb22aeba0c7aceb3cf6f /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | 2bb6635a852aefe4f1151352f0b11e3a9e2f5b6d (diff) | |
| download | rust-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
