[webkit-changes] [WebKit/WebKit] 94d426: [JSC] endSpecialCase should handle terminal case s...

Commit Queue noreply at github.com
Thu Jun 1 09:58:42 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 94d4260d1874a1739151831b5cb6fc4ac5ef7695
      https://github.com/WebKit/WebKit/commit/94d4260d1874a1739151831b5cb6fc4ac5ef7695
  Author: Yijia Huang <yijia_huang at apple.com>
  Date:   2023-06-01 (Thu, 01 Jun 2023)

  Changed paths:
    A JSTests/stress/bound-function-inline-terminal.js
    M Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp

  Log Message:
  -----------
  [JSC] endSpecialCase should handle terminal case since handleIntrinsicCall might return InlinedTerminal for BoundFunctionCallIntrinsic
https://bugs.webkit.org/show_bug.cgi?id=257593
rdar://108263944

Reviewed by Yusuke Suzuki.

Since handleIntrinsicCall might return InlinedTerminal for
BoundFunctionCallIntrinsic, endSpecialCase should handle this case.

* JSTests/stress/bound-function-inline-terminal.js: Added.
(C.foo.bar):
(C.foo):
(C):
* Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::handleCallVariant):

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




More information about the webkit-changes mailing list