Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 72928a517633537696c0e6a9f14ed0114791cb46
https://github.com/WebKit/WebKit/commit/72928a517633537696c0e6a9f14ed0114791cb46
Author: Yusuke Suzuki <[email protected]>
Date: 2026-08-08 (Sat, 08 Aug 2026)
Changed paths:
M Source/JavaScriptCore/wasm/js/JSWebAssemblyInstance.cpp
M Source/JavaScriptCore/wasm/js/JSWebAssemblyInstance.h
Log Message:
-----------
[JSC] Reserve 0-slot cached memory base and size even when a module declares
no memory
https://bugs.webkit.org/show_bug.cgi?id=321355
rdar://184387395
Reviewed by Mark Lam.
We need to zero clear all cachedMemoryBaseSizePairs initially.
Also we must need to call updateCachedMemoryBaseSizePair(0) when
updating memory0.
* Source/JavaScriptCore/wasm/js/JSWebAssemblyInstance.cpp:
(JSC::JSWebAssemblyInstance::JSWebAssemblyInstance):
* Source/JavaScriptCore/wasm/js/JSWebAssemblyInstance.h:
Canonical link: https://commits.webkit.org/318843@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications