Our WebAssembly implementation uses asm.js for testing. Using Firefox to parse asm.js reveals many errors that are not caught by pack-asmjs. For example, - asm.js does not allow the use of the multiplication operator (*) to multiply two integers, because the result can be so large that some lower bits of precision are lost. Math.imul is used instead. - an int variable must be coerced to either signed (via x|0) or unsigned (via x>>>0) before it's returned.
Created attachment 261280 [details] Patch
Comment on attachment 261280 [details] Patch r=me
Comment on attachment 261280 [details] Patch Clearing flags on attachment: 261280 Committed r189844: <http://trac.webkit.org/changeset/189844>
All reviewed patches have been landed. Closing bug.