-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preparatory refactorings for collector-driven trans. #33473
Conversation
r? @pnkfelix (rust_highfive has picked a reviewer for you, use r? to override) |
cc @rust-lang/compiler |
@@ -1191,7 +1191,7 @@ fn create_trans_items_for_default_impls<'a, 'tcx>(ccx: &CrateContext<'a, 'tcx>, | |||
assert!(mth.is_provided); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this commit seems good
@michaelwoerister this seems pretty unobjectionable. r=me but some nits:
|
Great. Thanks for the quick review! |
@bors r=nikomatsakis |
📌 Commit b37d7a4 has been approved by |
…, 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.
⌛ Testing commit b37d7a4 with merge e2c69e3... |
💔 Test failed - auto-linux-64-cross-freebsd |
☔ The latest upstream changes (presumably #33478) made this pull request unmergeable. Please resolve the merge conflicts. |
b37d7a4
to
30e19aa
Compare
@bors r=nikomatsakis rebased ... |
📌 Commit 30e19aa has been approved by |
(fails travis) |
…ext. Plus make it produce a nicer dependency graph via DepTrackingMap::memoize().
…efore creating LocalCrateContexts.
30e19aa
to
118cc9e
Compare
@bors r=nikomatsakis |
📌 Commit 118cc9e has been approved by |
…sakis 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.
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.