Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix OP_FMT_none_loc bytecode dumping #192

Merged
merged 1 commit into from
Dec 9, 2023

Conversation

bnoordhuis
Copy link
Contributor

Commit f404980 ("Add fused get_loc0_loc1 opcode") introduced an off-by-one (sometimes negative) array index bug because OP_get_loc1_loc1 replaced OP_get_loc0 as the first OP_FMT_none_loc opcode.

Commit f404980 ("Add fused get_loc0_loc1 opcode") introduced an
off-by-one (sometimes negative) array index bug because OP_get_loc1_loc1
replaced OP_get_loc0 as the first OP_FMT_none_loc opcode.
@bnoordhuis bnoordhuis merged commit 4c1b9f8 into quickjs-ng:master Dec 9, 2023
@bnoordhuis bnoordhuis deleted the fix-fmt-none-loc branch December 9, 2023 22:46
bnoordhuis pushed a commit to bnoordhuis/quickjs that referenced this pull request Dec 10, 2023
bnoordhuis pushed a commit to bnoordhuis/quickjs that referenced this pull request Dec 10, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants