Spidermonkey stores integer literals as integers, which we need to carefully detect when doing value parsing. This updates the float handling to detect the integer case properly and branch on the float conversion appropriately.
This affects both passed parameters and return values.
Fixes https://github.com/bytecodealliance/componentize-js/issues/63.
Spidermonkey stores integer literals as integers, which we need to carefully detect when doing value parsing. This updates the float handling to detect the integer case properly and branch on the float conversion appropriately.
This affects both passed parameters and return values.