]> git.lizzy.rs Git - rust.git/commit
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)
commit1939b76903eb8a4aa02dadc52353541637e3b98c
tree6615e19eead271fd8ac35916327ba49dc62578ef
parenta4d2424cc304e97f553c6d8eef17a24dc2f12c01
parent118cc9e8e1fd72ea59c44c99a3ef3cc8abf9bbaf
Auto merge of #33473 - michaelwoerister:split-cratecontext, r=nikomatsakis

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.
src/librustc_trans/base.rs
src/librustc_trans/common.rs