Wasm: Any function argument of type Void should be a validation error
authorsbarati@apple.com <sbarati@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 19 Jun 2018 18:48:27 +0000 (18:48 +0000)
committersbarati@apple.com <sbarati@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 19 Jun 2018 18:48:27 +0000 (18:48 +0000)
commitb81fbe3b15befaf9c0bd80305bb83d056bb03600
treea3f860f4b803dc08a4dfd9eb681abdc018df23b0
parent121787133b277a82445780b2ded071898f440795
Wasm: Any function argument of type Void should be a validation error
https://bugs.webkit.org/show_bug.cgi?id=186794
<rdar://problem/41140257>

Reviewed by Keith Miller.

JSTests:

* wasm/Builder.js:
(const._normalizeFunctionSignature):
* wasm/function-tests/void-argument-type-should-be-a-validation-error.js: Added.
(getBinary):
* wasm/self-test/test_BuilderJSON.js:

Source/JavaScriptCore:

* wasm/WasmModuleParser.cpp:
(JSC::Wasm::ModuleParser::parseType):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@232970 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JSTests/ChangeLog
JSTests/wasm/Builder.js
JSTests/wasm/function-tests/void-argument-type-should-be-a-validation-error.js [new file with mode: 0644]
JSTests/wasm/self-test/test_BuilderJSON.js
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/wasm/WasmModuleParser.cpp