]> git.lizzy.rs Git - rust.git/commit
Update the mir inline costs
authorAndreas Jonson <andjo403@users.noreply.github.com>
Wed, 11 Mar 2020 18:18:22 +0000 (19:18 +0100)
committerAndreas Jonson <andjo403@users.noreply.github.com>
Wed, 11 Mar 2020 18:18:22 +0000 (19:18 +0100)
commitafa940b900c2003228ea7f5d9f8d78906d84c135
treefb9294a65b70a1b6070126a0734b1826b8d1e101
parentc20d7eecbc0928b57da8fe30b2ef8528e2bdd5be
Update the mir inline costs

handle that when mir is lowered to llvm-ir more code is generated.
landingpads generates 10 llvm-ir instructions
and resume 9 llvm-ir instructions.
src/librustc_mir/transform/inline.rs