WebAssembly: support 0x1 version
authorjfbastien@apple.com <jfbastien@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 23 Feb 2017 21:36:13 +0000 (21:36 +0000)
committerjfbastien@apple.com <jfbastien@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 23 Feb 2017 21:36:13 +0000 (21:36 +0000)
commit5d26c89f08b81b8e08741577e164b9ab0701d9eb
tree9375cb67dea8c1b4106a4e758fdd38bfe136cb16
parent8eee6aaf9a7a5e994cecf62dc64ad24b40961b24
WebAssembly: support 0x1 version
https://bugs.webkit.org/show_bug.cgi?id=168672

Reviewed by Keith Miller.

JSTests:

Update the version number for all the tests. Note that the spec
tests are only updated with a new version number because spec+wabt
aren't ready for 0x1 yet. This is tracked by bug #168784.

* wasm/import-spec-tests.rb: use the new spec repository layout
* wasm/js-api/test_basic_api.js:
* wasm/self-test/test_BuilderWebAssembly.js:
(EmptyModule):
(CustomSection):
* wasm/spec-tests/address.wast.js:
* wasm/spec-tests/binary.wast.js:
* wasm/spec-tests/block.wast.js:
* wasm/spec-tests/br.wast.js:
* wasm/spec-tests/br_if.wast.js:
* wasm/spec-tests/br_table.wast.js:
* wasm/spec-tests/break-drop.wast.js:
* wasm/spec-tests/call.wast.js:
* wasm/spec-tests/call_indirect.wast.js:
* wasm/spec-tests/comments.wast.js:
* wasm/spec-tests/conversions.wast.js:
* wasm/spec-tests/custom_section.wast.js:
* wasm/spec-tests/endianness.wast.js:
* wasm/spec-tests/exports.wast.js:
* wasm/spec-tests/f32.wast.js:
* wasm/spec-tests/f32_cmp.wast.js:
* wasm/spec-tests/f64.wast.js:
* wasm/spec-tests/f64_cmp.wast.js:
* wasm/spec-tests/fac.wast.js:
* wasm/spec-tests/float_exprs.wast.js:
* wasm/spec-tests/float_literals.wast.js:
* wasm/spec-tests/float_memory.wast.js:
* wasm/spec-tests/float_misc.wast.js:
* wasm/spec-tests/forward.wast.js:
* wasm/spec-tests/func.wast.js:
* wasm/spec-tests/func_ptrs.wast.js:
* wasm/spec-tests/get_local.wast.js:
* wasm/spec-tests/globals.wast.js:
* wasm/spec-tests/i32.wast.js:
* wasm/spec-tests/i64.wast.js:
* wasm/spec-tests/imports.wast.js:
* wasm/spec-tests/int_exprs.wast.js:
* wasm/spec-tests/int_literals.wast.js:
* wasm/spec-tests/left-to-right.wast.js:
* wasm/spec-tests/linking.wast.js:
* wasm/spec-tests/loop.wast.js:
* wasm/spec-tests/memory.wast.js:
* wasm/spec-tests/memory_redundancy.wast.js:
* wasm/spec-tests/memory_trap.wast.js:
* wasm/spec-tests/names.wast.js:
* wasm/spec-tests/nop.wast.js:
* wasm/spec-tests/resizing.wast.js:
* wasm/spec-tests/return.wast.js:
* wasm/spec-tests/select.wast.js:
* wasm/spec-tests/set_local.wast.js:
* wasm/spec-tests/skip-stack-guard-page.wast.js:
* wasm/spec-tests/stack.wast.js:
* wasm/spec-tests/start.wast.js:
* wasm/spec-tests/store_retval.wast.js:
* wasm/spec-tests/switch.wast.js:
* wasm/spec-tests/tee_local.wast.js:
* wasm/spec-tests/traps.wast.js:
* wasm/spec-tests/typecheck.wast.js:
* wasm/spec-tests/unreachable.wast.js:
* wasm/spec-tests/unwind.wast.js:
* wasm/wasm.json:

Source/JavaScriptCore:

* wasm/wasm.json: update the version number, everything is based
on its value

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@212922 268f45cc-cd09-0410-ab3c-d52691b4dbfc
63 files changed:
JSTests/ChangeLog
JSTests/wasm/import-spec-tests.rb [changed mode: 0644->0755]
JSTests/wasm/js-api/test_basic_api.js
JSTests/wasm/self-test/test_BuilderWebAssembly.js
JSTests/wasm/spec-tests/address.wast.js
JSTests/wasm/spec-tests/binary.wast.js
JSTests/wasm/spec-tests/block.wast.js
JSTests/wasm/spec-tests/br.wast.js
JSTests/wasm/spec-tests/br_if.wast.js
JSTests/wasm/spec-tests/br_table.wast.js
JSTests/wasm/spec-tests/break-drop.wast.js
JSTests/wasm/spec-tests/call.wast.js
JSTests/wasm/spec-tests/call_indirect.wast.js
JSTests/wasm/spec-tests/comments.wast.js
JSTests/wasm/spec-tests/conversions.wast.js
JSTests/wasm/spec-tests/custom_section.wast.js
JSTests/wasm/spec-tests/endianness.wast.js
JSTests/wasm/spec-tests/exports.wast.js
JSTests/wasm/spec-tests/f32.wast.js
JSTests/wasm/spec-tests/f32_cmp.wast.js
JSTests/wasm/spec-tests/f64.wast.js
JSTests/wasm/spec-tests/f64_cmp.wast.js
JSTests/wasm/spec-tests/fac.wast.js
JSTests/wasm/spec-tests/float_exprs.wast.js
JSTests/wasm/spec-tests/float_literals.wast.js
JSTests/wasm/spec-tests/float_memory.wast.js
JSTests/wasm/spec-tests/float_misc.wast.js
JSTests/wasm/spec-tests/forward.wast.js
JSTests/wasm/spec-tests/func.wast.js
JSTests/wasm/spec-tests/func_ptrs.wast.js
JSTests/wasm/spec-tests/get_local.wast.js
JSTests/wasm/spec-tests/globals.wast.js
JSTests/wasm/spec-tests/i32.wast.js
JSTests/wasm/spec-tests/i64.wast.js
JSTests/wasm/spec-tests/imports.wast.js
JSTests/wasm/spec-tests/int_exprs.wast.js
JSTests/wasm/spec-tests/int_literals.wast.js
JSTests/wasm/spec-tests/left-to-right.wast.js
JSTests/wasm/spec-tests/linking.wast.js
JSTests/wasm/spec-tests/loop.wast.js
JSTests/wasm/spec-tests/memory.wast.js
JSTests/wasm/spec-tests/memory_redundancy.wast.js
JSTests/wasm/spec-tests/memory_trap.wast.js
JSTests/wasm/spec-tests/names.wast.js
JSTests/wasm/spec-tests/nop.wast.js
JSTests/wasm/spec-tests/resizing.wast.js
JSTests/wasm/spec-tests/return.wast.js
JSTests/wasm/spec-tests/select.wast.js
JSTests/wasm/spec-tests/set_local.wast.js
JSTests/wasm/spec-tests/skip-stack-guard-page.wast.js
JSTests/wasm/spec-tests/stack.wast.js
JSTests/wasm/spec-tests/start.wast.js
JSTests/wasm/spec-tests/store_retval.wast.js
JSTests/wasm/spec-tests/switch.wast.js
JSTests/wasm/spec-tests/tee_local.wast.js
JSTests/wasm/spec-tests/traps.wast.js
JSTests/wasm/spec-tests/typecheck.wast.js
JSTests/wasm/spec-tests/unreachable.wast.js
JSTests/wasm/spec-tests/unwind.wast.js
JSTests/wasm/wasm.json
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/wasm/WasmModuleParser.cpp
Source/JavaScriptCore/wasm/wasm.json