Skip to content

[mono][interp] Initialize il_offset for allocated basic blocks#82242

Merged
BrzVlad merged 1 commit intodotnet:mainfrom
BrzVlad:fix-interp-bb-il-offset
Feb 16, 2023
Merged

[mono][interp] Initialize il_offset for allocated basic blocks#82242
BrzVlad merged 1 commit intodotnet:mainfrom
BrzVlad:fix-interp-bb-il-offset

Conversation

@BrzVlad
Copy link
Member

@BrzVlad BrzVlad commented Feb 16, 2023

Multiple areas of the interpreter expect all basic blocks to have an associated il_offset. During bblock reorder optimization, we were allocating a new bblock without initializing it with the offset of the preceding bblock.

Fixes local crash in System.Text.Json.Tests when having tiering disabled.

Multiple areas of the interpreter expect all basic blocks to have an associated il_offset. During bblock reorder optimization, we were allocating a new bblock without initializing it with the offset of the preceding bblock.
@ghost
Copy link

ghost commented Feb 16, 2023

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

Issue Details

Multiple areas of the interpreter expect all basic blocks to have an associated il_offset. During bblock reorder optimization, we were allocating a new bblock without initializing it with the offset of the preceding bblock.

Fixes local crash in System.Text.Json.Tests when having tiering disabled.

Author: BrzVlad
Assignees: BrzVlad
Labels:

area-Codegen-Interpreter-mono

Milestone: -

@BrzVlad BrzVlad merged commit 92fc7ec into dotnet:main Feb 16, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Mar 19, 2023
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.

3 participants