]> git.lizzy.rs Git - rust.git/commit
auto merge of #10217 : alexcrichton/rust/less-reachable, r=pcwalton
authorbors <bors@rust-lang.org>
Sat, 2 Nov 2013 18:01:16 +0000 (11:01 -0700)
committerbors <bors@rust-lang.org>
Sat, 2 Nov 2013 18:01:16 +0000 (11:01 -0700)
commit3899f8da6b3da631a110041384a088403468d225
tree9e23b48daab566da8e770c770fdd22b1f69cb847
parent22dfdc927b65d2e6eb5f9a594615ac2e6a8425a8
parent681fda016979786da5d60a5c6d7fcf5c6c649c86
auto merge of #10217 : alexcrichton/rust/less-reachable, r=pcwalton

Previously, all functions called by a reachable function were considered
reachable, but this is only the case if the original function was possibly
inlineable (if it's type generic or #[inline]-flagged).
src/librustc/middle/trans/base.rs