Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c0deda0b0cc53708c29783a6f9806476f7ef08d1
      
https://github.com/WebKit/WebKit/commit/c0deda0b0cc53708c29783a6f9806476f7ef08d1
  Author: Sosuke Suzuki <[email protected]>
  Date:   2026-01-19 (Mon, 19 Jan 2026)

  Changed paths:
    A JSTests/microbenchmarks/string-fromCharCode-constant-folding.js
    A JSTests/stress/string-fromCharCode-constant-folding.js
    M Source/JavaScriptCore/dfg/DFGAbstractInterpreterInlines.h
    M Source/JavaScriptCore/dfg/DFGDoesGC.cpp

  Log Message:
  -----------
  [JSC] Handle `String.fromCharCode` in abstract interpreter
https://bugs.webkit.org/show_bug.cgi?id=194308

Reviewed by Yusuke Suzuki.

This patch changes to handle `String.fromCharCode` in anstract interpreter.

                                              TipOfTree                  Patched

string-fromCharCode-constant-folding       13.0185+-0.2332     ^      
7.9630+-0.4211        ^ definitely 1.6349x faster

Tests: JSTests/microbenchmarks/string-fromCharCode-constant-folding.js
       JSTests/stress/string-fromCharCode-constant-folding.js

* JSTests/microbenchmarks/string-fromCharCode-constant-folding.js: Added.
* JSTests/stress/string-fromCharCode-constant-folding.js: Added.
(shouldBe):
* Source/JavaScriptCore/dfg/DFGAbstractInterpreterInlines.h:
(JSC::DFG::AbstractInterpreter<AbstractStateType>::executeEffects):
* Source/JavaScriptCore/dfg/DFGDoesGC.cpp:
(JSC::DFG::doesGC):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to