Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1941f45d2876fc7f4670444355093a961ba7d630
      
https://github.com/WebKit/WebKit/commit/1941f45d2876fc7f4670444355093a961ba7d630
  Author: Yusuke Suzuki <ysuz...@apple.com>
  Date:   2025-08-04 (Mon, 04 Aug 2025)

  Changed paths:
    M Source/JavaScriptCore/dfg/DFGIntegerRangeOptimizationPhase.cpp
    M Source/JavaScriptCore/dfg/DFGSSALoweringPhase.cpp
    M Source/JavaScriptCore/dfg/DFGStrengthReductionPhase.cpp
    M Source/JavaScriptCore/ftl/FTLLowerDFGToB3.cpp

  Log Message:
  -----------
  [JSC] Extract CheckInBounds from StringCharCodeAt
https://bugs.webkit.org/show_bug.cgi?id=296850
rdar://157388660

Reviewed by Yijia Huang.

This patch aligns StringCharCodeAt to the other GetByVal by extracting
CheckInBounds from that in FTL.

* Source/JavaScriptCore/dfg/DFGIntegerRangeOptimizationPhase.cpp:
* Source/JavaScriptCore/dfg/DFGSSALoweringPhase.cpp:
(JSC::DFG::SSALoweringPhase::handleNode):
(JSC::DFG::SSALoweringPhase::lowerStringBoundsCheck):
* Source/JavaScriptCore/dfg/DFGStrengthReductionPhase.cpp:
(JSC::DFG::StrengthReductionPhase::handleNode):
* Source/JavaScriptCore/ftl/FTLLowerDFGToB3.cpp:
(JSC::FTL::DFG::LowerDFGToB3::compileStringCharCodeAt):

Canonical link: https://commits.webkit.org/298202@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