-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
module: [email protected] big endian fix #35634
Conversation
Review requested:
|
e27088c
to
4c1d587
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with a passing CI. Wasn't there a documentation link that should be updated to match the version of cjs-module-lexer used?
@richardlau thanks, well-remembered! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RSLGTM
I think it might be a good idea to also get nodejs/cjs-module-lexer#14 into this. Also, there’s a major bug in big endian mode that causes the most significant nibble to be discarded: nodejs/cjs-module-lexer#13 (comment). |
b8b695d
to
10a40f8
Compare
@ExE-Boss thanks for spotting that, it wasn't affecting the execution because the mask was unnecessary due to the bit shift. I've updated to 0.4.2 that corrects the unnecessary op. |
@guybedford is this ready to go? |
@MylesBorins yes it is, it just needs another 24 hours to land I think unless you want to fast track. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RSLGTM
can we fast-track? |
PR-URL: #35634 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Ujjwal Sharma <[email protected]>
Landed in ab0af50 |
PR-URL: #35634 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Ujjwal Sharma <[email protected]>
PR-URL: #35634 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Ujjwal Sharma <[email protected]>
PR-URL: #35634 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Ujjwal Sharma <[email protected]>
PR-URL: nodejs#35634 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Ujjwal Sharma <[email protected]>
This updates to [email protected] with the fix at nodejs/cjs-module-lexer#13 for big endian support.
This should fix the previous Web Assembly issues found in #35583.
Note this is a performance improvement only and not a bug fix since we had the gracefull fallback previously.
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes