[webkit-changes] [WebKit/WebKit] 34f06e: [JSC] use provenValue in LowerDFGToB3::lowInt32

Commit Queue noreply at github.com
Wed Dec 20 12:33:13 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 34f06edd2c77c7264880d96569781eb509780cc4
      https://github.com/WebKit/WebKit/commit/34f06edd2c77c7264880d96569781eb509780cc4
  Author: Yijia Huang <yijia_huang at apple.com>
  Date:   2023-12-20 (Wed, 20 Dec 2023)

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

  Log Message:
  -----------
  [JSC] use provenValue in LowerDFGToB3::lowInt32
https://bugs.webkit.org/show_bug.cgi?id=266642
rdar://105278239

Reviewed by Justin Michaud.

In LowerDFGToB3::lowInt32, if the edge's corresponding abstract value
is a proven int32, then use it as a constant int32. This patch adds a
fast path for LowerDFGToB3::lowInt32 with proven int32 values.

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

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




More information about the webkit-changes mailing list