Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7e9dff0fcda41b9afa1e7d5a6328663e67523b3f
https://github.com/WebKit/WebKit/commit/7e9dff0fcda41b9afa1e7d5a6328663e67523b3f
Author: Sosuke Suzuki <[email protected]>
Date: 2025-10-23 (Thu, 23 Oct 2025)
Changed paths:
M Source/JavaScriptCore/runtime/IteratorOperations.h
M Source/JavaScriptCore/runtime/JSArray.cpp
M Source/JavaScriptCore/runtime/JSArray.h
M Source/JavaScriptCore/runtime/JSGlobalObjectInlines.h
M Source/JavaScriptCore/runtime/JSMapIterator.h
M Source/JavaScriptCore/runtime/JSSetIterator.h
Log Message:
-----------
[JSC] Avoid using `MarkedArgumentBuffer` in `createTuple`
https://bugs.webkit.org/show_bug.cgi?id=301078
Reviewed by Yusuke Suzuki and Keith Miller.
createTupel creates an array from two JSValues. It has a fixed length
so there is no need to use a MarkedArgumentBuffer.
This patch changes to avoid using `MarkedArgumentBuffer` in `createTuple`.
* Source/JavaScriptCore/runtime/IteratorOperations.h:
(JSC::forEachInMapStorage):
* Source/JavaScriptCore/runtime/JSArray.cpp:
(JSC::constructArrayPair):
* Source/JavaScriptCore/runtime/JSArray.h:
* Source/JavaScriptCore/runtime/JSGlobalObjectInlines.h:
(JSC::createTuple):
* Source/JavaScriptCore/runtime/JSMapIterator.h:
* Source/JavaScriptCore/runtime/JSSetIterator.h:
Canonical link: https://commits.webkit.org/302067@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications