haikuwebkit/Source/JavaScriptCore/wasm
Yusuke Suzuki 907efddb43 [JSC] Remove already-shipped wasm option flags
https://bugs.webkit.org/show_bug.cgi?id=229386

Reviewed by Ross Kirsling.

JSTests:

* wasm/references/element_active_mod.js:
* wasm/references/element_parsing.js:
* wasm/references/externref_globals.js:
* wasm/references/externref_modules.js:
* wasm/references/externref_table.js:
* wasm/references/externref_table_import.js:
* wasm/references/func_ref.js:
* wasm/references/globals.js:
* wasm/references/is_null.js:
* wasm/references/memory_copy.js:
* wasm/references/memory_copy_shared.js:
* wasm/references/memory_fill_shared.js:
* wasm/references/multitable.js:
* wasm/references/parse_unreachable.js:
* wasm/references/table_js_api.js:
* wasm/references/table_misc.js:
* wasm/references/validation.js:
* wasm/stress/immutable-globals.js:
* wasm/stress/local-ref.js:
* wasm/stress/mutable-globals.js:
* wasm/stress/table-grow-table-size.js:

Source/JavaScriptCore:

This patch removes some wasm option flags which are already shipped.

* runtime/OptionsList.h:
* wasm/WasmFormat.h:
(JSC::Wasm::isValueType):
* wasm/WasmFunctionParser.h:
(JSC::Wasm::FunctionParser<Context>::parseExpression):
(JSC::Wasm::FunctionParser<Context>::parseUnreachableExpression):
* wasm/WasmOperations.cpp:
(JSC::Wasm::JSC_DEFINE_JIT_OPERATION):
* wasm/WasmParser.h:
(JSC::Wasm::Parser<SuccessType>::parseBlockSignature):
* wasm/WasmSectionParser.cpp:
(JSC::Wasm::SectionParser::parseType):
(JSC::Wasm::SectionParser::parseElement):
(JSC::Wasm::SectionParser::parseData):
(JSC::Wasm::SectionParser::parseDataCount):
* wasm/js/JSWebAssembly.cpp:
(JSC::JSWebAssembly::finishCreation):
* wasm/js/WebAssemblyGlobalConstructor.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):
* wasm/js/WebAssemblyTableConstructor.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):
* wasm/js/WebAssemblyTablePrototype.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):

Tools:

* Scripts/run-jsc-stress-tests:

LayoutTests:

* workers/wasm-references.html:

Canonical link: https://commits.webkit.org/240821@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@281438 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-08-23 06:28:16 +00:00
..
js [JSC] Remove already-shipped wasm option flags 2021-08-23 06:28:16 +00:00
WasmAirIRGenerator.cpp Improve OSR entry into Wasm loops with arguments 2021-07-31 01:40:05 +00:00
WasmAirIRGenerator.h [JSC] Allow to build WebAssembly without B3 2021-01-23 12:32:22 +00:00
WasmB3IRGenerator.cpp Improve OSR entry into Wasm loops with arguments 2021-07-31 01:40:05 +00:00
WasmB3IRGenerator.h [JSC] Allow to build WebAssembly without B3 2021-01-23 12:32:22 +00:00
WasmBBQPlan.cpp Use UncheckedLock even less in JavaScriptCore 2021-05-26 18:35:03 +00:00
WasmBBQPlan.h Use UncheckedLock even less in JavaScriptCore 2021-05-26 18:35:03 +00:00
WasmBinding.cpp Enhance Link Buffer stats to have more fine grain profiles, and to collect count information. 2021-05-23 06:07:01 +00:00
WasmBinding.h [JSC] Implement a B3::Compilation replacement for wasm-llint 2021-01-19 00:24:52 +00:00
WasmCallee.cpp
WasmCallee.h [JSC] Allow to build WebAssembly without B3 2021-01-23 12:32:22 +00:00
WasmCalleeRegistry.cpp
WasmCalleeRegistry.h Stop using UncheckedLock in JSC::WasmCalleeRegistry 2021-05-29 21:08:38 +00:00
WasmCallingConvention.cpp
WasmCallingConvention.h [WASM-Function-References] Add support for (ref null? $t) type constructor 2021-06-25 02:23:28 +00:00
WasmCapabilities.h
WasmCodeBlock.cpp Stop using holdLock() in JSC as it is not compatible with Clang thread safety analysis 2021-05-22 03:13:17 +00:00
WasmCodeBlock.h [JSC] Allow to build WebAssembly without B3 2021-01-23 12:32:22 +00:00
WasmCompilationMode.cpp
WasmCompilationMode.h
WasmContext.cpp Stop using holdLock() in JSC as it is not compatible with Clang thread safety analysis 2021-05-22 03:13:17 +00:00
WasmContext.h
WasmContextInlines.h
WasmCreationMode.h
WasmEmbedder.h
WasmEntryPlan.cpp Remove WTF::Optional synonym for std::optional, using that class template directly instead 2021-05-30 16:11:40 +00:00
WasmEntryPlan.h Use UncheckedLock even less in JavaScriptCore 2021-05-26 18:35:03 +00:00
WasmExceptionType.h [WASM] [BigInt] Add I64 to BigInt conversion 2021-01-05 20:13:38 +00:00
WasmFaultSignalHandler.cpp Stop using UncheckedLock in JSC::WasmCalleeRegistry 2021-05-29 21:08:38 +00:00
WasmFaultSignalHandler.h
WasmFormat.cpp Drop Checked::safeGet() 2021-06-02 19:02:15 +00:00
WasmFormat.h [JSC] Remove already-shipped wasm option flags 2021-08-23 06:28:16 +00:00
WasmFunctionCodeBlock.cpp
WasmFunctionCodeBlock.h numCalleeLocals, numParameters, and numVars should be unsigned 2021-04-26 20:20:13 +00:00
WasmFunctionParser.h [JSC] Remove already-shipped wasm option flags 2021-08-23 06:28:16 +00:00
WasmGeneratorTraits.h
WasmGlobal.cpp [WASM-Function-References] Add support for (ref null? $t) type constructor 2021-06-25 02:23:28 +00:00
WasmGlobal.h Unreviewed, fix Mac and non-unified JSCOnly builds 2021-03-22 20:30:11 +00:00
WasmIndexOrName.cpp
WasmIndexOrName.h
WasmInstance.cpp Rename Checked::unsafeGet() to Checked::value() 2021-06-02 05:21:13 +00:00
WasmInstance.h Rename Checked::unsafeGet() to Checked::value() 2021-06-02 05:21:13 +00:00
WasmLLIntGenerator.cpp Improve OSR entry into Wasm loops with arguments 2021-07-31 01:40:05 +00:00
WasmLLIntGenerator.h [JSC] Allow to build WebAssembly without B3 2021-01-23 12:32:22 +00:00
WasmLLIntPlan.cpp Use UncheckedLock even less in JavaScriptCore 2021-05-26 18:35:03 +00:00
WasmLLIntPlan.h Use UncheckedLock even less in JavaScriptCore 2021-05-26 18:35:03 +00:00
WasmLLIntTierUpCounter.cpp
WasmLLIntTierUpCounter.h
WasmLimits.h
WasmMachineThreads.cpp Stop using holdLock() in JSC as it is not compatible with Clang thread safety analysis 2021-05-22 03:13:17 +00:00
WasmMachineThreads.h
WasmMemory.cpp Release assert memory in JSC::Wasm::Memory::growShared(JSC::Wasm::PageCount)::<lambda()> 2021-06-21 19:09:04 +00:00
WasmMemory.h JSTests: 2021-04-07 09:28:49 +00:00
WasmMemoryInformation.cpp [JSC] Add wasm atomics instructions 2020-11-28 00:02:55 +00:00
WasmMemoryInformation.h [JSC] Add wasm atomics instructions 2020-11-28 00:02:55 +00:00
WasmMemoryMode.cpp Make some things easier to dataLog in wasm 2021-05-06 20:55:29 +00:00
WasmMemoryMode.h Make some things easier to dataLog in wasm 2021-05-06 20:55:29 +00:00
WasmModule.cpp Stop using holdLock() in JSC as it is not compatible with Clang thread safety analysis 2021-05-22 03:13:17 +00:00
WasmModule.h [WASM-Function-References] Update ref.func to produce (ref $t) 2021-03-05 12:16:49 +00:00
WasmModuleInformation.cpp
WasmModuleInformation.h Remove <wtf/Optional.h> 2021-06-02 06:45:51 +00:00
WasmName.h
WasmNameSection.h Remove WTF::Optional synonym for std::optional, using that class template directly instead 2021-05-30 16:11:40 +00:00
WasmNameSectionParser.cpp
WasmNameSectionParser.h
WasmOMGForOSREntryPlan.cpp Use UncheckedLock even less in JavaScriptCore 2021-05-26 18:35:03 +00:00
WasmOMGForOSREntryPlan.h Use UncheckedLock even less in JavaScriptCore 2021-05-26 18:35:03 +00:00
WasmOMGPlan.cpp Use UncheckedLock even less in JavaScriptCore 2021-05-26 18:35:03 +00:00
WasmOMGPlan.h Use UncheckedLock even less in JavaScriptCore 2021-05-26 18:35:03 +00:00
WasmOSREntryData.h [JSC] Allow to build WebAssembly without B3 2021-01-23 12:32:22 +00:00
WasmOpcodeOrigin.cpp
WasmOpcodeOrigin.h
WasmOperations.cpp [JSC] Remove already-shipped wasm option flags 2021-08-23 06:28:16 +00:00
WasmOperations.h [JSC] Allow to build WebAssembly without B3 2021-01-23 12:32:22 +00:00
WasmPageCount.cpp
WasmPageCount.h
WasmParser.h [JSC] Remove already-shipped wasm option flags 2021-08-23 06:28:16 +00:00
WasmPlan.cpp Use UncheckedLock even less in JavaScriptCore 2021-05-26 18:35:03 +00:00
WasmPlan.h Use UncheckedLock even less in JavaScriptCore 2021-05-26 18:35:03 +00:00
WasmSectionParser.cpp [JSC] Remove already-shipped wasm option flags 2021-08-23 06:28:16 +00:00
WasmSectionParser.h Remove WTF::Optional synonym for std::optional, using that class template directly instead 2021-05-30 16:11:40 +00:00
WasmSections.h [WASM-References] Add support for memory.copy, memory.init and data.drop 2020-12-17 22:25:20 +00:00
WasmSignature.cpp [WASM-Function-References] Add support for (ref null? $t) type constructor 2021-06-25 02:23:28 +00:00
WasmSignature.h Rename Checked::unsafeGet() to Checked::value() 2021-06-02 05:21:13 +00:00
WasmSignatureInlines.h Stop using holdLock() in JSC as it is not compatible with Clang thread safety analysis 2021-05-22 03:13:17 +00:00
WasmSlowPaths.cpp Stop using holdLock() in JSC as it is not compatible with Clang thread safety analysis 2021-05-22 03:13:17 +00:00
WasmSlowPaths.h Adding missing REFERENCED_FROM_ASM annotations to facilitate LTO 2021-08-09 10:53:05 +00:00
WasmStreamingCompiler.cpp Use UncheckedLock even less in JavaScriptCore 2021-05-26 18:35:03 +00:00
WasmStreamingCompiler.h Use UncheckedLock even less in JavaScriptCore 2021-05-26 18:35:03 +00:00
WasmStreamingParser.cpp Remove <wtf/Optional.h> 2021-06-02 06:45:51 +00:00
WasmStreamingParser.h Remove WTF::Optional synonym for std::optional, using that class template directly instead 2021-05-30 16:11:40 +00:00
WasmStreamingPlan.cpp Use UncheckedLock even less in JavaScriptCore 2021-05-26 18:35:03 +00:00
WasmStreamingPlan.h Use UncheckedLock even less in JavaScriptCore 2021-05-26 18:35:03 +00:00
WasmTable.cpp Drop Checked::safeGet() 2021-06-02 19:02:15 +00:00
WasmTable.h Remove <wtf/Optional.h> 2021-06-02 06:45:51 +00:00
WasmThunks.cpp Enhance Link Buffer stats to have more fine grain profiles, and to collect count information. 2021-05-23 06:07:01 +00:00
WasmThunks.h Use UncheckedLock even less in JavaScriptCore 2021-05-26 18:35:03 +00:00
WasmTierUpCount.cpp [JSC] Allow to build WebAssembly without B3 2021-01-23 12:32:22 +00:00
WasmTierUpCount.h [JSC] Allow to build WebAssembly without B3 2021-01-23 12:32:22 +00:00
WasmValueLocation.cpp [JSC] Implement a B3::ValueRep replacement for wasm-llint 2021-01-14 22:48:43 +00:00
WasmValueLocation.h [JSC] Implement a B3::ValueRep replacement for wasm-llint 2021-01-14 22:48:43 +00:00
WasmWorklist.cpp Stop using UncheckedLock in WTF::AutomaticThread 2021-05-26 16:46:37 +00:00
WasmWorklist.h Stop using UncheckedLock in WTF::AutomaticThread 2021-05-26 16:46:37 +00:00
generateWasm.py WebAssembly: implement non-trapping float to int conversion 2021-02-16 23:28:32 +00:00
generateWasmB3IRGeneratorInlinesHeader.py Fix Python 3.6+ DeprecationWarnings about unknown escapes 2021-05-21 10:16:11 +00:00
generateWasmOpsHeader.py [WASM-Function-References] Add support for (ref null? $t) type constructor 2021-06-25 02:23:28 +00:00
wasm.json [WASM-Function-References] Add support for (ref null? $t) type constructor 2021-06-25 02:23:28 +00:00