Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d077f1d5c030fc13a7694db1a864539cc441862e
      
https://github.com/WebKit/WebKit/commit/d077f1d5c030fc13a7694db1a864539cc441862e
  Author: Yusuke Suzuki <ysuz...@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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to