about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorDenis Lisov <dennis.lissov@gmail.com>2019-10-07 00:29:47 +0300
committerGitHub <noreply@github.com>2019-10-07 00:29:47 +0300
commit4cc707cb7846c2a136daa42ea3498c5a92903189 (patch)
tree33f23ff19fbb8e0dc553463657a0feee744bed78 /src/libstd/sys/unix/stack_overflow.rs
parent421bd77f42c2fe8a2596dbcc1580ec97fb89009f (diff)
downloadrust-4cc707cb7846c2a136daa42ea3498c5a92903189.tar.gz
rust-4cc707cb7846c2a136daa42ea3498c5a92903189.zip
use precalculated dominators in explain_borrow
This looks like the only place calculating dominators from the MIR body every time instead of using the ones stored on the `MirBorrowckCtxt`. For example, in rust-lang/rust#65131 a big generated function with a number of borrowck errors takes a few hours(!) recalculating the dominators while explaining the errors.

I don't know enough about this part of rustc codebase to know for sure that this change is correct, but no tests seem to fail as a result of this change in local testing.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions