Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f771c5060cd789680bae34cfee0b0d5f032cf6f8
https://github.com/WebKit/WebKit/commit/f771c5060cd789680bae34cfee0b0d5f032cf6f8
Author: Shu-yu Guo <[email protected]>
Date: 2026-08-05 (Wed, 05 Aug 2026)
Changed paths:
A JSTests/wasm/stress/array-init-elem-wrapper-alloc-frame-tracer.js
A JSTests/wasm/stress/ref-func-wrapper-alloc-frame-tracer.js
A JSTests/wasm/stress/table-get-wrapper-alloc-frame-tracer.js
M Source/JavaScriptCore/wasm/WasmIPIntSlowPaths.cpp
M Source/JavaScriptCore/wasm/WasmOperations.cpp
Log Message:
-----------
[JSC] Use FrameTracer in wasm ref_func, table_get, and array_init_elem
operations
https://bugs.webkit.org/show_bug.cgi?id=321032
rdar://183455247
Reviewed by Sosuke Suzuki.
ref.func, table.get, and array.init_elem can all materialize wrapper functions,
which can GC and update ShadowChicken, and therefore need a FrameTracer.
Tests: JSTests/wasm/stress/array-init-elem-wrapper-alloc-frame-tracer.js
JSTests/wasm/stress/ref-func-wrapper-alloc-frame-tracer.js
JSTests/wasm/stress/table-get-wrapper-alloc-frame-tracer.js
* JSTests/wasm/stress/array-init-elem-wrapper-alloc-frame-tracer.js: Added.
(const.imports.m.f):
* JSTests/wasm/stress/ref-func-wrapper-alloc-frame-tracer.js: Added.
(let.wat.module.import.string_appeared_here.string_appeared_here.func.import):
(func):
(const.imports.m.f):
* JSTests/wasm/stress/table-get-wrapper-alloc-frame-tracer.js: Added.
(funcref.elem):
(func):
(const.imports.m.f):
* Source/JavaScriptCore/wasm/WasmIPIntSlowPaths.cpp:
(JSC::IPInt::WASM_IPINT_EXTERN_CPP_DECL):
* Source/JavaScriptCore/wasm/WasmOperations.cpp:
(JSC::Wasm::JSC_DEFINE_NOEXCEPT_JIT_OPERATION):
Canonical link: https://commits.webkit.org/318638@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications