[webkit-changes] [WebKit/WebKit] 34288c: [Wasm-GC] Fix exception validation when using GC
Asumu Takikawa
noreply at github.com
Mon Dec 4 20:04:59 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 34288ce1365e496e4fb45fdd8919917413d660f1
https://github.com/WebKit/WebKit/commit/34288ce1365e496e4fb45fdd8919917413d660f1
Author: Asumu Takikawa <asumu at igalia.com>
Date: 2023-12-04 (Mon, 04 Dec 2023)
Changed paths:
A JSTests/wasm/gc/exception.js
M Source/JavaScriptCore/wasm/WasmFormat.h
M Source/JavaScriptCore/wasm/WasmFunctionParser.h
M Source/JavaScriptCore/wasm/WasmLLIntGenerator.cpp
Log Message:
-----------
[Wasm-GC] Fix exception validation when using GC
https://bugs.webkit.org/show_bug.cgi?id=265678
Reviewed by Justin Michaud.
Adjusts checking of throw arguments and also LLInt catch generation to
work in the presence of GC types.
* JSTests/wasm/gc/exception.js: Added.
(module):
(testExceptionsWithGC):
* Source/JavaScriptCore/wasm/WasmFormat.h:
(JSC::Wasm::isSubtype):
* Source/JavaScriptCore/wasm/WasmFunctionParser.h:
(JSC::Wasm::FunctionParser<Context>::parseExpression):
* Source/JavaScriptCore/wasm/WasmLLIntGenerator.cpp:
(JSC::Wasm::LLIntGenerator::addCatchToUnreachable):
Canonical link: https://commits.webkit.org/271527@main
More information about the webkit-changes
mailing list