]> git.lizzy.rs Git - rust.git/commit
Use a ref-counted pointer for ownership of the predecessor cache
authorDylan MacKenzie <ecstaticmorse@gmail.com>
Tue, 21 Apr 2020 17:15:07 +0000 (10:15 -0700)
committerDylan MacKenzie <ecstaticmorse@gmail.com>
Thu, 23 Apr 2020 01:24:20 +0000 (18:24 -0700)
commit59c746030a1f1330f2037f09c2a7a6def8a5fc04
tree418773a61c5a4c235d8c032c6a6a2b3fc5ede5d3
parent740f228b5b68f4db74318e0f234786aa3bc4e982
Use a ref-counted pointer for ownership of the predecessor cache

...instead of a `LockGuard` which means the lock is held for longer than
necessary.
src/librustc_middle/mir/predecessors.rs