Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 512dfa371a12e5b7497f03cfea9c1588c0d00043
      
https://github.com/WebKit/WebKit/commit/512dfa371a12e5b7497f03cfea9c1588c0d00043
  Author: Yusuke Suzuki <[email protected]>
  Date:   2026-07-20 (Mon, 20 Jul 2026)

  Changed paths:
    M Source/JavaScriptCore/jit/ThunkGenerators.cpp

  Log Message:
  -----------
  [JSC] Fold String.prototype.at negative-index adjustment to a branchless csel
https://bugs.webkit.org/show_bug.cgi?id=319789
rdar://182662211

Reviewed by Yijia Huang.

stringCharLoad<RelativeNegativeIndex::Yes> is having very small jumps to
covert the negative-index to the positive one. But this can be branchless.

* Source/JavaScriptCore/jit/ThunkGenerators.cpp:
(JSC::stringCharLoad):

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



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

Reply via email to