about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <nnethercote@mozilla.com>2018-09-04 16:44:04 +1000
committerNicholas Nethercote <nnethercote@mozilla.com>2018-09-04 19:23:14 +1000
commitfb307e529d217c6602c1c0359b14947b6897265c (patch)
treec50ac79fdd92fd12376a95f318a8e15e1690d108 /src/test/debuginfo/enum-thinlto.rs
parent763d91aa124a4278a68207b644df8c48b39fab45 (diff)
downloadrust-fb307e529d217c6602c1c0359b14947b6897265c.tar.gz
rust-fb307e529d217c6602c1c0359b14947b6897265c.zip
Rewrite `precompute_borrows_out_of_scope` for fewer hash table lookups.
It now does one hash table lookup per basic block, instead of one per
statement. This is worthwhile because this function is hot for NLL
builds of `ucd`.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions