Skip to content
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

[mono][interp] Make sure containing klass has field offsets initialized #73264

Merged
merged 2 commits into from
Aug 3, 2022

Conversation

BrzVlad
Copy link
Member

@BrzVlad BrzVlad commented Aug 2, 2022

Fix regression from #70649. That PR exposed a case where we coincidentally initialized a class while emitting a ctor call. After the unoptimized codegen change, that newobj emit path was no longer hit. Setup the class fields explicitly when generating code that needs them.

#73180

@ghost
Copy link

ghost commented Aug 2, 2022

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

Issue Details

Fix regression from #70649. That PR exposed a case where we coincidentally initialized a class while emitting a ctor call. After the unoptimized codegen change, that newobj emit path was no longer hit. Setup the class fields explicitly when generating code that needs them.

Author: BrzVlad
Assignees: -
Labels:

area-Codegen-Interpreter-mono

Milestone: -

@lambdageek
Copy link
Member

/azp run runtime-wasm

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@BrzVlad
Copy link
Member Author

BrzVlad commented Aug 3, 2022

Are these wasm failures expected ? @radical ?

@radical
Copy link
Member

radical commented Aug 3, 2022

@BrzVlad Yes, these are on main too. You can ignore them here.

@radical radical merged commit bcdcaec into dotnet:main Aug 3, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Sep 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants