Skip to content

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

@BrzVlad BrzVlad requested a review from vargaz as a code owner August 2, 2022 20:11
@ghost ghost assigned BrzVlad Aug 2, 2022
@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