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

Correct default value for wasm local variable(externref and funcref) #3397

Merged
merged 5 commits into from
May 9, 2024

Conversation

TianlongLiang
Copy link
Contributor

In classic-interpreter, fast-interpreter, and fast-jit running modes, set the local variables' default value to NULL_REF rather than 0 if they are externref and funcref
This PR will fix #3390 #3391

Copy link
Contributor

@wenyongh wenyongh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wenyongh wenyongh merged commit ea13d47 into bytecodealliance:main May 9, 2024
376 checks passed
@TianlongLiang TianlongLiang deleted the dev/local_default_fix branch July 1, 2024 06:26
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.

Unexpected behavior in fast-JIT mode and interpreter mode
2 participants