Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1152f3717e9b65ac9c329f3966e3733d62ce27d4
https://github.com/WebKit/WebKit/commit/1152f3717e9b65ac9c329f3966e3733d62ce27d4
Author: Cole Carley <[email protected]>
Date: 2026-07-02 (Thu, 02 Jul 2026)
Changed paths:
M JSTests/wasm/js-api/table.js
A JSTests/wasm/js-api/table64-js-api.js
M Source/JavaScriptCore/wasm/WasmFormat.h
M Source/JavaScriptCore/wasm/WasmSectionParser.cpp
M Source/JavaScriptCore/wasm/WasmTable.cpp
M Source/JavaScriptCore/wasm/WasmTable.h
M Source/JavaScriptCore/wasm/js/JSWebAssemblyTable.cpp
M Source/JavaScriptCore/wasm/js/WebAssemblyModuleRecord.cpp
M Source/JavaScriptCore/wasm/js/WebAssemblyTableConstructor.cpp
M Source/JavaScriptCore/wasm/js/WebAssemblyTablePrototype.cpp
Log Message:
-----------
Implement Table64 JS API
https://bugs.webkit.org/show_bug.cgi?id=316725
rdar://179172629
Reviewed by Yusuke Suzuki.
Implement the Table64 JS API.
Test: JSTests/wasm/js-api/table64-js-api.js
* JSTests/wasm/js-api/table.js:
(assert.truthy):
* JSTests/wasm/js-api/table64-js-api.js: Added.
(assert.eq.table.type):
(assert.eq):
(assert.throws):
* Source/JavaScriptCore/wasm/WasmFormat.h:
(JSC::Wasm::TableInformation::TableInformation):
(JSC::Wasm::TableInformation::isTable64 const):
(JSC::Wasm::TableInformation::addressType const):
* Source/JavaScriptCore/wasm/WasmSectionParser.cpp:
(JSC::Wasm::SectionParser::parseTableHelper):
* Source/JavaScriptCore/wasm/WasmTable.cpp:
(JSC::Wasm::Table::Table):
(JSC::Wasm::Table::tryCreate):
(JSC::Wasm::ExternOrAnyRefTable::ExternOrAnyRefTable):
(JSC::Wasm::FuncRefTable::FuncRefTable):
(JSC::Wasm::FuncRefTable::createFixedSized):
* Source/JavaScriptCore/wasm/WasmTable.h:
(JSC::Wasm::Table::addressType const):
* Source/JavaScriptCore/wasm/js/JSWebAssemblyTable.cpp:
(JSC::JSWebAssemblyTable::type):
* Source/JavaScriptCore/wasm/js/WebAssemblyModuleRecord.cpp:
(JSC::WebAssemblyModuleRecord::initializeExports):
* Source/JavaScriptCore/wasm/js/WebAssemblyTableConstructor.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):
Canonical link: https://commits.webkit.org/316389@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications