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

Fix invalid use of jit_reg_is_const_val in fast-jit #2718

Merged
merged 1 commit into from
Nov 3, 2023

Conversation

wenyongh
Copy link
Contributor

@wenyongh wenyongh commented Nov 3, 2023

jit_reg_is_const_val only checks whether the register is a const register and
the const value is stored in the register.
Should use jit_reg_is_const instead in the front end.

Reported in #2710.

@wenyongh wenyongh merged commit e161205 into bytecodealliance:main Nov 3, 2023
374 checks passed
@wenyongh wenyongh deleted the fix_fast_jit branch November 4, 2023 10:27
victoryang00 pushed a commit to victoryang00/wamr-aot-gc-checkpoint-restore that referenced this pull request May 27, 2024
…#2718)

`jit_reg_is_const_val` only checks whether the register is a const register and
the const value is stored in the register.
Should use `jit_reg_is_const` instead in the front end.

Reported in bytecodealliance#2710.
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.

1 participant