about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-12-06 15:47:03 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2024-12-16 09:36:09 +1100
commit83f3d204cf396502a15b3edf50b561b47c9f0884 (patch)
tree0284b65b667da913a58624dd28001c7a449abe90 /compiler/rustc_codegen_llvm/src
parentc8c50f4351e629da2dde6bb6b23f4a2f93bd84b8 (diff)
downloadrust-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