[webkit-changes] [WebKit/WebKit] d077f1: [JSC] Enable Megamorphic Cache for enumerator_put_...
Yusuke Suzuki
noreply at github.com
Sat Feb 10 10:39:55 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d077f1d5c030fc13a7694db1a864539cc441862e
https://github.com/WebKit/WebKit/commit/d077f1d5c030fc13a7694db1a864539cc441862e
Author: Yusuke Suzuki <ysuzuki at apple.com>
Date: 2024-02-10 (Sat, 10 Feb 2024)
Changed paths:
M Source/JavaScriptCore/bytecode/PutByStatus.cpp
M Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp
Log Message:
-----------
[JSC] Enable Megamorphic Cache for enumerator_put_by_val / enumerator_get_by_val in upper tiers
https://bugs.webkit.org/show_bug.cgi?id=269129
rdar://122689419
Reviewed by Mark Lam.
This patch enables embedded DFG / FTL megamorphic cache for enumerator_put_by_val / enumerator_get_by_val.
We obtain PutByStatus / GetByStatus, and if it says "this was megamorphic in lower tiers", then we use PutByValMegamorphic / GetByValMegamorphic.
* Source/JavaScriptCore/bytecode/PutByStatus.cpp:
(JSC::PutByStatus::computeFromLLInt):
* Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::parseBlock):
Canonical link: https://commits.webkit.org/274421@main
More information about the webkit-changes
mailing list