[webkit-changes] [WebKit/WebKit] b9bff0: [JSC] Correctly handle OOM wasm GC array
Yusuke Suzuki
noreply at github.com
Tue Oct 29 15:54:27 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b9bff032745cc7de3f81583a3876c95632706b75
https://github.com/WebKit/WebKit/commit/b9bff032745cc7de3f81583a3876c95632706b75
Author: Yusuke Suzuki <ysuzuki at apple.com>
Date: 2024-10-29 (Tue, 29 Oct 2024)
Changed paths:
A JSTests/wasm/stress/very-large-wasm-gc-array-on-const-expr.js
M Source/JavaScriptCore/wasm/WasmConstExprGenerator.cpp
M Source/JavaScriptCore/wasm/WasmOperations.cpp
M Source/JavaScriptCore/wasm/WasmOperationsInlines.h
M Source/JavaScriptCore/wasm/WasmSlowPaths.cpp
Log Message:
-----------
[JSC] Correctly handle OOM wasm GC array
https://bugs.webkit.org/show_bug.cgi?id=281959
rdar://138494403
Reviewed by Yijia Huang and Keith Miller.
We are having places which are not handling OOM wasm GC arrays
correctly. This patch fixes them.
* JSTests/wasm/stress/very-large-wasm-gc-array-on-const-expr.js: Added.
* Source/JavaScriptCore/wasm/WasmConstExprGenerator.cpp:
(JSC::Wasm::ConstExprGenerator::createNewArray):
* Source/JavaScriptCore/wasm/WasmOperations.cpp:
(JSC::Wasm::JSC_DEFINE_NOEXCEPT_JIT_OPERATION):
* Source/JavaScriptCore/wasm/WasmOperationsInlines.h:
(JSC::Wasm::arrayNew):
(JSC::Wasm::arrayNewFixed):
* Source/JavaScriptCore/wasm/WasmSlowPaths.cpp:
(JSC::LLInt::WASM_SLOW_PATH_DECL):
Canonical link: https://commits.webkit.org/285864@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list