Skip to content

Retype pointers to 'this' on stack as unmanaged pointers - #68074

Merged
jakobbotsch merged 3 commits into
dotnet:mainfrom
jakobbotsch:retype-byref-this
Apr 20, 2022
Merged

jakobbotsch merged 3 commits into
dotnet:mainfrom
jakobbotsch:retype-byref-this

Conversation

@jakobbotsch

@jakobbotsch jakobbotsch commented Apr 15, 2022 •

Copy link
Copy Markdown
Member

Remove one of the quirks added in #67238.

Initially I thought this would have nice diffs in terms of GC info, but it seems this does not end up costing too much.

cc @dotnet/jit-contrib

@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Apr 15, 2022
@ghost ghost assigned jakobbotsch Apr 15, 2022
@ghost

ghost commented Apr 15, 2022

Copy link
Copy Markdown

Tagging subscribers to this area: @JulieLeeMSFT
See info in area-owners.md if you want to be subscribed.

Issue Details

Remove one of the quirks added in #67238.

Initially I thought this would have nice diffs in terms of GC info, but it seems this does not end up costing too much.

This also fixes the JITDUMP alignment of promoted fields with parent local nodes. In #67238 I increased the margin by a bit to be able to fit the kind of argument (e.g. "ret buffer" instead of "arg0"), but I missed updating this.

cc @dotnet/jit-contrib

Author: jakobbotsch
Assignees: jakobbotsch
Labels:

area-CodeGen-coreclr

Milestone: -

@jakobbotsch

Copy link
Copy Markdown
Member Author

Diffs

Do this in a separate PR.
@jakobbotsch
jakobbotsch merged commit ac226ef into dotnet:main Apr 20, 2022
@jakobbotsch
jakobbotsch deleted the retype-byref-this branch April 20, 2022 07:38
directhex pushed a commit to directhex/runtime that referenced this pull request Apr 21, 2022
Remove one of the quirks added in the call args refactoring.
@ghost ghost locked as resolved and limited conversation to collaborators May 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants