]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #33473 - michaelwoerister:split-cratecontext, r=nikomatsakis
authorbors <bors@rust-lang.org>
Tue, 10 May 2016 06:50:10 +0000 (23:50 -0700)
committerbors <bors@rust-lang.org>
Tue, 10 May 2016 06:50:10 +0000 (23:50 -0700)
Preparatory refactorings for collector-driven trans.

This is a set of refactorings that allows to do translation item collection and partitioning before LocalCrateContext instances or LLVM modules are generated. As a consequence we can now create LocalCrateContexts already with knowledge of the codegen unit it will be used for. This is a preparation step for driving trans by the results of codegen unit partitioning.

1  2 
src/librustc_trans/base.rs
src/librustc_trans/common.rs

Simple merge
Simple merge