Uh oh!
There was an error while loading. Please reload this page.
shim: monomorphic FnPtrShims during construction - #75346
Merged
bors merged 1 commit intoSep 20, 2020
Merged
Conversation
eddyb
approved these changes
Aug 9, 2020
eddyb
commented
Aug 9, 2020
Contributor
We've made this work (I hope), but given my involvement I'd like someone else to take a look as well. |
This was referenced Aug 9, 2020
This comment has been minimized.
This comment has been minimized.
davidtwcoforce-pushed
the
issue-69925-polymorphic-instancedef-fnptrshim
branch
from
August 30, 2020 18:12
25c0b8f to
7ac4185Compare
This comment has been minimized.
This comment has been minimized.
This commit adjusts MIR shim construction so that substitutions are applied to function pointer shims during construction, rather than during codegen (as determined by `substs_for_mir_body`) - as substitutions will no longer occur during codegen, function pointer shims can now be polymorphic without incurring double substitutions. Signed-off-by: David Wood <david@davidtw.co>
davidtwcoforce-pushed
the
issue-69925-polymorphic-instancedef-fnptrshim
branch
from
September 4, 2020 12:40
7ac4185 to
f8376b5Comparenikomatsakis
approved these changes
Sep 18, 2020
nikomatsakis
commented
Sep 18, 2020
Contributor
@bors r+ |
bors
commented
Sep 18, 2020
Collaborator
📌 Commit f8376b5 has been approved by |
Contributor
Apologies for being super slow ❤️ |
Dylan-DPC-zz pushed a commit
to Dylan-DPC-zz/rust
that referenced
this pull request
Sep 19, 2020
…nstancedef-fnptrshim, r=nikomatsakis shim: monomorphic `FnPtrShim`s during construction Fixesrust-lang#69925. This PR adjusts MIR shim construction so that substitutions are applied to function pointer shims during construction, rather than during codegen (as determined by `substs_for_mir_body`). r? @eddyb
Dylan-DPC-zz pushed a commit
to Dylan-DPC-zz/rust
that referenced
this pull request
Sep 19, 2020
…nstancedef-fnptrshim, r=nikomatsakis shim: monomorphic `FnPtrShim`s during construction Fixesrust-lang#69925. This PR adjusts MIR shim construction so that substitutions are applied to function pointer shims during construction, rather than during codegen (as determined by `substs_for_mir_body`). r? @eddyb
Dylan-DPC-zz pushed a commit
to Dylan-DPC-zz/rust
that referenced
this pull request
Sep 19, 2020
…nstancedef-fnptrshim, r=nikomatsakis shim: monomorphic `FnPtrShim`s during construction Fixesrust-lang#69925. This PR adjusts MIR shim construction so that substitutions are applied to function pointer shims during construction, rather than during codegen (as determined by `substs_for_mir_body`). r? @eddyb
Dylan-DPC-zz pushed a commit
to Dylan-DPC-zz/rust
that referenced
this pull request
Sep 20, 2020
…nstancedef-fnptrshim, r=nikomatsakis shim: monomorphic `FnPtrShim`s during construction Fixesrust-lang#69925. This PR adjusts MIR shim construction so that substitutions are applied to function pointer shims during construction, rather than during codegen (as determined by `substs_for_mir_body`). r? @eddyb
bors
commented
Sep 20, 2020
Collaborator
bors
commented
Sep 20, 2020
Collaborator
☀️ Test successful - checks-actions, checks-azure |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes#69925.
This PR adjusts MIR shim construction so that substitutions are applied to function pointer shims during construction, rather than during codegen (as determined by
substs_for_mir_body).r? @eddyb