diff options
| author | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2022-05-08 00:00:00 +0000 |
|---|---|---|
| committer | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2022-05-08 23:14:56 +0200 |
| commit | fbc3cc18bee7fb6dfd39e11521783f00506ca06b (patch) | |
| tree | 56119a80bd6442a7cf3c5a463f1c009d2ae85dc3 /compiler/rustc_codegen_llvm/src/allocator.rs | |
| parent | 83322c557fcaa9b6750955ceb6b9591df6c53a65 (diff) | |
| download | rust-fbc3cc18bee7fb6dfd39e11521783f00506ca06b.tar.gz rust-fbc3cc18bee7fb6dfd39e11521783f00506ca06b.zip | |
Avoid constructing switch sources unless necessary
Switch sources are used by backward analysis with a custom switch int edge effects, but are otherwise unnecessarily computed. Delay the computation until we know that switch sources are indeed required and avoid the computation otherwise.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/allocator.rs')
0 files changed, 0 insertions, 0 deletions
