-
Notifications
You must be signed in to change notification settings - Fork 745
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
wasm2js: Stop emitting nan and infinity #5391
Conversation
Working on adjusting to match CI. |
Code lgtm, but please check the CI error. |
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.
Why was test/spec/expected-output/func_ptrs.wast.log
deleted?
Once I got the rest of it passing (I think I've finally got the local test suite lining up with CI, so I'll try to quiet the noisy force pushes now), I was going to ask you to review. With the
|
As noted in WebAssembly#4739, legacy language emitting nan and infinity exists, with the observation that it can be removed once asm.js is no longer used and global NaN is available. This commit removes that asm.js-specific code accordingly.
Test suite builds locally. The error with the |
Sorry for the noise -- CI now passes. |
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.
Great!
Thank you! |
As noted in #4739, legacy language emitting nan and infinity exists, with the observation that it can be removed once asm.js is no longer used and global NaN is available.
This commit removes that asm.js-specific code accordingly.
This is a replacement for the draft #4770 proposed earlier.