diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-12-06 15:47:03 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-12-16 09:36:09 +1100 |
| commit | 83f3d204cf396502a15b3edf50b561b47c9f0884 (patch) | |
| tree | 0284b65b667da913a58624dd28001c7a449abe90 /compiler/rustc_codegen_llvm/src | |
| parent | c8c50f4351e629da2dde6bb6b23f4a2f93bd84b8 (diff) | |
| download | rust-83f3d204cf396502a15b3edf50b561b47c9f0884.tar.gz rust-83f3d204cf396502a15b3edf50b561b47c9f0884.zip | |
Remove `opt_clone_from_or_clone`.
Switches to the idiom used elsewhere of calling `Analysis::bottom_value` to initialize a `state` value outside a loop, and then using `clone_from` to update it within the loop. This is simpler and has no impact on performance.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
