about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-07-04 14:12:14 +0000
committerbors <bors@rust-lang.org>2018-07-04 14:12:14 +0000
commiteded1aa14cb322b3b1000ee98ea9ba3a10dacba1 (patch)
treef28d503bbf907b054b4c9a0af5bd2db2bade882a /src/rustllvm/RustWrapper.cpp
parenta22bcd8aab2905f6f5496c1ae66a45ba60ca4c90 (diff)
parentb0c78120e3ecae5f4043781f7a3f79e2277293e7 (diff)
downloadrust-eded1aa14cb322b3b1000ee98ea9ba3a10dacba1.tar.gz
rust-eded1aa14cb322b3b1000ee98ea9ba3a10dacba1.zip
Auto merge of #51870 - nnethercote:reuse-DefsUsesVisitor, r=nikomatsakis
Reuse the `DefsUsesVisitor` in `simulate_block()`.

This avoids a bunch of allocations for the bitsets within it,
speeding up a number of NLL benchmarks, the best by 1%.

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