]> git.lizzy.rs Git - rust.git/commit
Auto merge of #68551 - Marwes:allocations_mir, r=ecstatic-morse
authorbors <bors@rust-lang.org>
Thu, 12 Mar 2020 09:16:53 +0000 (09:16 +0000)
committerbors <bors@rust-lang.org>
Thu, 12 Mar 2020 09:16:53 +0000 (09:16 +0000)
commit23de8275c9b5e5812dc54a12bdba6d80870d9dc8
tree8db5224c597044c43761d3b33a7d5b30524f0e17
parente5e8ba4edc435c9f87314b23a6c5d9c175bdf19c
parent851e9d64baa8d54a2960a3e5946143cb24b772b5
Auto merge of #68551 - Marwes:allocations_mir, r=ecstatic-morse

perf: Reuse a Vec in mir simplification

Just moves the vec out of the outer loop so it is reused every iteration
src/librustc_mir/transform/simplify.rs