]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #39648 - Aatch:mir-inlining-2, r=eddyb
authorbors <bors@rust-lang.org>
Sat, 11 Mar 2017 08:25:44 +0000 (08:25 +0000)
committerbors <bors@rust-lang.org>
Sat, 11 Mar 2017 08:25:44 +0000 (08:25 +0000)
[MIR] Implement Inlining

Fairly basic implementation of inlining for MIR. Uses conservative
heuristics for inlining.

Doesn't handle a number of cases, but can be extended later. This is basically the same as the previous inlining PR, but without the span-related changes (as the bugs it was dealing with have since been fixed).

/cc @rust-lang/compiler

1  2 
src/librustc_driver/driver.rs

Simple merge