Fix 64-bit shift family Wasm opcodes
Created attachment 297198 [details] Patch
This patch modifies one of the wasm.json files. Please ensure that any changes in one have been mirrored to the other. You can find the wasm.json files at "Source/JavaScriptCore/wasm/wasm.json" and "JSTests/wasm/wasm.json".
Comment on attachment 297198 [details] Patch r=me
Comment on attachment 297198 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=297198&action=review > JSTests/wasm/function-tests/rotl.js:22 > + .End() It should be a validation error to export a function with i64. Why does this pass?
You could test the i64 stuff by doing i32 -ext-> i64, and then using the ops. Pass in 2 xx i32 from JS, or them together.
Comment on attachment 297198 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=297198&action=review >> JSTests/wasm/function-tests/rotl.js:22 >> + .End() > > It should be a validation error to export a function with i64. Why does this pass? I don't think this is true. You just can't call (from JS) an exported function that takes/returns an i64.
Committed r209866: <http://trac.webkit.org/changeset/209866>