about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-07-01 04:23:29 +0000
committerbors <bors@rust-lang.org>2018-07-01 04:23:29 +0000
commite953e4621e9c0bfa3a10a4a7dd1da1512a28332d (patch)
treed55f27c62fd8cb52733fc158c4c54104de02aecc /src/rustllvm/PassWrapper.cpp
parent33b40f56792f0ed198b79818891634275cb8168e (diff)
parent08683f003cab472efc0481c349cb69dfb137c4c1 (diff)
downloadrust-e953e4621e9c0bfa3a10a4a7dd1da1512a28332d.tar.gz
rust-e953e4621e9c0bfa3a10a4a7dd1da1512a28332d.zip
Auto merge of #51869 - nnethercote:rm-clone_from, r=nikomatsakis
Avoid needless allocations in `liveness_of_locals`.

We don't need to replace the heap-allocated bitset, we can just
overwrite its contents.

This speeds up most NLL benchmarks, the best by 1.5%.

r? @nikomatsakis
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions