Skip to content

Fix Atomics.pause on 32 bits platforms#1235

Merged
bnoordhuis merged 1 commit intoquickjs-ng:masterfrom
bnoordhuis:fix-atomics-pause-32-bits
Nov 10, 2025
Merged

Fix Atomics.pause on 32 bits platforms#1235
bnoordhuis merged 1 commit intoquickjs-ng:masterfrom
bnoordhuis:fix-atomics-pause-32-bits

Conversation

@bnoordhuis
Copy link
Copy Markdown
Contributor

Use JS_VALUE_GET_NORM_TAG to get the type tag, not JS_VALUE_GET_TAG. The latter doesn't work correctly with NaN boxing.

Refs: #986 (comment)

Use JS_VALUE_GET_NORM_TAG to get the type tag, not JS_VALUE_GET_TAG.
The latter doesn't work correctly with NaN boxing.

Refs: quickjs-ng#986 (comment)
@bnoordhuis bnoordhuis merged commit 4623da7 into quickjs-ng:master Nov 10, 2025
127 checks passed
@bnoordhuis bnoordhuis deleted the fix-atomics-pause-32-bits branch November 10, 2025 14:20
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