[webkit-changes] [WebKit/WebKit] a5a876: [Wasm-GC] Fix null checks for struct operations
Asumu Takikawa
noreply at github.com
Thu Jan 26 12:12:10 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a5a87681d68f0e9b9def72c33858a176b45d2248
https://github.com/WebKit/WebKit/commit/a5a87681d68f0e9b9def72c33858a176b45d2248
Author: Asumu Takikawa <asumu at igalia.com>
Date: 2023-01-26 (Thu, 26 Jan 2023)
Changed paths:
M JSTests/wasm/gc/structs.js
M Source/JavaScriptCore/wasm/WasmAirIRGeneratorBase.h
M Source/JavaScriptCore/wasm/WasmB3IRGenerator.cpp
M Source/JavaScriptCore/wasm/WasmExceptionType.h
M Source/JavaScriptCore/wasm/WasmSlowPaths.cpp
Log Message:
-----------
[Wasm-GC] Fix null checks for struct operations
https://bugs.webkit.org/show_bug.cgi?id=251133
Reviewed by Justin Michaud.
Adds in missing null checks for struct instructions.
* JSTests/wasm/gc/structs.js:
* Source/JavaScriptCore/wasm/WasmAirIRGeneratorBase.h:
(JSC::Wasm::ExpressionType>::addStructGet):
(JSC::Wasm::ExpressionType>::addStructSet):
* Source/JavaScriptCore/wasm/WasmB3IRGenerator.cpp:
(JSC::Wasm::B3IRGenerator::addStructGet):
(JSC::Wasm::B3IRGenerator::addStructSet):
* Source/JavaScriptCore/wasm/WasmExceptionType.h:
(JSC::Wasm::isTypeErrorExceptionType):
* Source/JavaScriptCore/wasm/WasmSlowPaths.cpp:
(JSC::LLInt::WASM_SLOW_PATH_DECL):
Canonical link: https://commits.webkit.org/259449@main
More information about the webkit-changes
mailing list