Skip to content

Conversation

@bnoordhuis
Copy link
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