]> git.lizzy.rs Git - rust.git/commit
After discussion with ariel, replacing a guard within kill_loans_out_of_scope_at_loca...
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Thu, 14 Dec 2017 00:10:37 +0000 (18:10 -0600)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Thu, 14 Dec 2017 00:10:37 +0000 (18:10 -0600)
commitf96777c9ffa1d564f26fee7ed64e4ccc4f8dd1fa
tree8c7a7e17a133f6aacd825d44d51ab056b6f0e218
parent3c7d9ff90a06c44d31dad018ebb5e613b1c74033
After discussion with ariel, replacing a guard within kill_loans_out_of_scope_at_location.

Instead we are "just" careful to invoke it (which sets up a bunch of kill bits)
before we go into the code that sets up the gen bits.

That way, when the gen bits are set up, they will override any
previously set kill-bits for those reservations or activations.
src/librustc_mir/dataflow/impls/borrows.rs