Skip to content

Conversation

@kripken
Copy link
Member

@kripken kripken commented Aug 8, 2025

Precompute has two modes, one where we ignore effects. We were
caching the effectless results for where the normal mode (which cares
about effects) would reuse them, leading to bugs.

Fixes a regression from #7763, another after #7766. We were not using the
cache fully, before, and caches are bug-prone, sadly. I have an idea for a
larger refactor to make this more robust, but I wanted to get this two-line
fix out first.

@kripken kripken requested a review from tlively August 8, 2025 17:37
@kripken kripken merged commit 05aac53 into WebAssembly:main Aug 8, 2025
16 checks passed
@kripken kripken deleted the pp.pse branch August 8, 2025 19:53
@tlively
Copy link
Member

tlively commented Aug 22, 2025

I've bisected the current binaryen import failure to this change.

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