[webkit-changes] [WebKit/WebKit] 1517f4: Add template parameters to WTF::compactMap() to sp...
Chris Dumez
noreply at github.com
Tue Oct 3 10:26:42 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1517f43710c3475d64ba9a878c4293b9c0991ddc
https://github.com/WebKit/WebKit/commit/1517f43710c3475d64ba9a878c4293b9c0991ddc
Author: Chris Dumez <cdumez at apple.com>
Date: 2023-10-03 (Tue, 03 Oct 2023)
Changed paths:
M Source/JavaScriptCore/runtime/JSObject.cpp
M Source/WTF/wtf/Vector.h
Log Message:
-----------
Add template parameters to WTF::compactMap() to specify resulting vector inlineCapacity / minCapacity
https://bugs.webkit.org/show_bug.cgi?id=262520
Reviewed by Darin Adler.
Add template parameters to WTF::compactMap() to specify resulting vector inlineCapacity / minCapacity,
similarly to what was done for WTF::map() in 268739 at main.
* Source/JavaScriptCore/runtime/JSObject.cpp:
(JSC::JSObject::getOwnIndexedPropertyNames):
* Source/WTF/wtf/Vector.h:
(WTF::CompactMapper::compactMap):
(WTF::compactMap):
Canonical link: https://commits.webkit.org/268790@main
More information about the webkit-changes
mailing list