diff options
| author | Denis Lisov <dennis.lissov@gmail.com> | 2019-10-07 00:29:47 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-07 00:29:47 +0300 |
| commit | 4cc707cb7846c2a136daa42ea3498c5a92903189 (patch) | |
| tree | 33f23ff19fbb8e0dc553463657a0feee744bed78 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 421bd77f42c2fe8a2596dbcc1580ec97fb89009f (diff) | |
| download | rust-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
