-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-pick d077f1d. rdar://122689419
[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 Identifier: 272448.552@safari-7618.1.15.11-branch
- Loading branch information
1 parent
56a875d
commit 5013c18
Showing
2 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters