Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Jit: spill stack for non-candidate calls#7923

Merged
AndyAyersMS merged 1 commit into
dotnet:masterfrom
AndyAyersMS:FixNoCandidateBug
Nov 1, 2016
Merged

Jit: spill stack for non-candidate calls#7923
AndyAyersMS merged 1 commit into
dotnet:masterfrom
AndyAyersMS:FixNoCandidateBug

Conversation

@AndyAyersMS
Copy link
Copy Markdown
Member

Closes #7907.

Spill the evaluation stack at non-candidate calls since the call may
modify locals or args that are currently live on the stack.

In the attached test case I can't get the problematic IL sequence to
happen for the F0 variant, but it is there for the F1 variant.

No diffs seen in corlib or any of the framework assemblies that are
run via jit-dasm.

Closes #7907.

Spill the evaluation stack at non-candidate calls since the call may
modify locals or args that are currently live on the stack.

In the attached test case I can't get the problematic IL sequence to
happen for the `F0` variant, but it is there for the `F1` variant.

No diffs seen in corlib or any of the framework assemblies that are
run via jit-dasm.
@AndyAyersMS
Copy link
Copy Markdown
Member Author

@pkukol PTAL
cc @dotnet/jit-contrib

@erozenfeld
Copy link
Copy Markdown
Member

LGTM

@AndyAyersMS AndyAyersMS merged commit 0112e87 into dotnet:master Nov 1, 2016
@karelz karelz modified the milestone: 2.0.0 Aug 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants