Skip to content

GlobalStructInference: Fix trivial packed fields and un-nest them too#8012

Merged
kripken merged 2 commits intoWebAssembly:mainfrom
kripken:gsi.unnest.and.packed
Oct 31, 2025
Merged

GlobalStructInference: Fix trivial packed fields and un-nest them too#8012
kripken merged 2 commits intoWebAssembly:mainfrom
kripken:gsi.unnest.and.packed

Conversation

@kripken
Copy link
Copy Markdown
Member

@kripken kripken commented Oct 30, 2025

#8005 did not handle packed fields, when finding trivial gets to
optimize. Fix that and also implement the TODO for unnesting by
sharing getReadValue (which happens to handle both things
for us).

@kripken kripken requested a review from tlively October 30, 2025 20:06
@kripken
Copy link
Copy Markdown
Member Author

kripken commented Oct 31, 2025

This was missing a non-null cast if the descrpitor is null. Added now.

@kripken kripken merged commit 1d97f47 into WebAssembly:main Oct 31, 2025
16 checks passed
@kripken kripken deleted the gsi.unnest.and.packed branch October 31, 2025 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants