Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ebb9bf5fa085961177fade5428ca6a2471ba7350
      
https://github.com/WebKit/WebKit/commit/ebb9bf5fa085961177fade5428ca6a2471ba7350
  Author: Yusuke Suzuki <[email protected]>
  Date:   2026-10-04 (Sun, 04 Oct 2026)

  Changed paths:
    M Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp
    M Source/JavaScriptCore/ftl/FTLLowerDFGToB3.cpp

  Log Message:
  -----------
  [JSC] Reorder CheckStructure targets
https://bugs.webkit.org/show_bug.cgi?id=326249
rdar://189120362

Reviewed by Yijia Huang.

A CheckStructure with several structures compares the cell's
structure against each one in set order, which is usually the
order the ICs observed them. Let's prioritize the recently seen
Structures first. We reorder checking structures.

* Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::emitStructureCheck):
* Source/JavaScriptCore/ftl/FTLLowerDFGToB3.cpp:
(JSC::FTL::DFG::LowerDFGToB3::compileCompareStrictEq):

Canonical link: https://commits.webkit.org/322644@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to