Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 35f649ea5f5470b4059aff6a349e6db1371974e5
      
https://github.com/WebKit/WebKit/commit/35f649ea5f5470b4059aff6a349e6db1371974e5
  Author: Yusuke Suzuki <ysuz...@apple.com>
  Date:   2025-03-04 (Tue, 04 Mar 2025)

  Changed paths:
    A JSTests/stress/array-includes-empty.js
    M Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp
    M Source/JavaScriptCore/ftl/FTLLowerDFGToB3.cpp

  Log Message:
  -----------
  [JSC] Array#includes / Array#indexOf inlined code should check empty value
https://bugs.webkit.org/show_bug.cgi?id=288597
rdar://145655237

Reviewed by Yijia Huang.

We need to check whether they are empty before doing cell check.
Also we remove some unnecessary code.

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

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to