Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5e9f56254a37cd11a873c55ba48688791a6b32dd
      
https://github.com/WebKit/WebKit/commit/5e9f56254a37cd11a873c55ba48688791a6b32dd
  Author: Yusuke Suzuki <[email protected]>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    M Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp
    M Source/JavaScriptCore/dfg/DFGJITCompiler.cpp
    M Source/JavaScriptCore/dfg/DFGNode.h
    M Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp

  Log Message:
  -----------
  [JSC] Use SwitchChar / SwitchImm without jump table in DFG
https://bugs.webkit.org/show_bug.cgi?id=294818
rdar://154047818

Reviewed by Yijia Huang.

Let's convert SwitchString to SwitchChar if possible in DFG / FTL.
And we can emit binary switch for these new ones when we are not able to
construct JumpTable because clause conditions are too sparse etc.

* Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::parseBlock):
* Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp:

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