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 17:36:08 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2024-12-16 09:36:09 +1100
commit5f40942f9c462576b4b7976e0a4c855ee350a9f9 (patch)
tree46e3e26af4a6469353623640de7a8e52652b3120 /compiler/rustc_codegen_llvm/src
parent83f3d204cf396502a15b3edf50b561b47c9f0884 (diff)
downloadrust-5f40942f9c462576b4b7976e0a4c855ee350a9f9.tar.gz
rust-5f40942f9c462576b4b7976e0a4c855ee350a9f9.zip
Remove a `FIXME` comment.
It is possible to avoid the clone as suggested in the comment. It would
require introducing an enum with two variants
`CloneBeforeModifying(&Domain)` and `Modifiable(&mut Domain)`. But it's
not worth the effort, because this code path just isn't very hot. E.g.
when compiling a large benchmark like `cargo-0.60.0` it's only hit a few
thousand times.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions