Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3eb35821ddf0e2e9ee5688279012456b12c48ba9
      
https://github.com/WebKit/WebKit/commit/3eb35821ddf0e2e9ee5688279012456b12c48ba9
  Author: Yijia Huang <[email protected]>
  Date:   2025-04-28 (Mon, 28 Apr 2025)

  Changed paths:
    A JSTests/stress/loop-unrolling-variable-with-switch-char.js
    A JSTests/stress/loop-unrolling-variable-with-switch-imm.js
    A JSTests/stress/loop-unrolling-variable-with-switch-string.js
    M Source/JavaScriptCore/dfg/DFGCloneHelper.cpp
    M Source/JavaScriptCore/dfg/DFGCloneHelper.h

  Log Message:
  -----------
  [JSC] Support cloning more DFG nodes for loop unrolling
https://bugs.webkit.org/show_bug.cgi?id=292193
rdar://150201404

Reviewed by Yusuke Suzuki.

To support broader loop unrolling opportunities in DFG, we extend CloneHelper
to clone more types of nodes. This patch updates cloneNodeImpl to handle
additional node types and expands the FOR_EACH_NODE_CLONE_STATUS list 
accordingly.

* JSTests/stress/loop-unrolling-variable-with-switch-char.js: Added.
(test):
* JSTests/stress/loop-unrolling-variable-with-switch-imm.js: Added.
(test):
* JSTests/stress/loop-unrolling-variable-with-switch-string.js: Added.
(test):
* Source/JavaScriptCore/dfg/DFGCloneHelper.cpp:
(JSC::DFG::CloneHelper::cloneNodeImpl):
* Source/JavaScriptCore/dfg/DFGCloneHelper.h:

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



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

Reply via email to