diff options
| author | bors <bors@rust-lang.org> | 2018-07-01 04:23:29 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-07-01 04:23:29 +0000 |
| commit | e953e4621e9c0bfa3a10a4a7dd1da1512a28332d (patch) | |
| tree | d55f27c62fd8cb52733fc158c4c54104de02aecc /src/rustllvm/PassWrapper.cpp | |
| parent | 33b40f56792f0ed198b79818891634275cb8168e (diff) | |
| parent | 08683f003cab472efc0481c349cb69dfb137c4c1 (diff) | |
| download | rust-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
