[webkit-changes] [WebKit/WebKit] a75d2c: [JSC] Use `LIKELY` and `UNLIKELY` in `String#at`

SUZUKI Sosuke noreply at github.com
Sun Feb 2 04:04:48 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a75d2c3f1a4769fdfb982384c3455e43af37a231
      https://github.com/WebKit/WebKit/commit/a75d2c3f1a4769fdfb982384c3455e43af37a231
  Author: Sosuke Suzuki <aosukeke at gmail.com>
  Date:   2025-02-02 (Sun, 02 Feb 2025)

  Changed paths:
    M Source/JavaScriptCore/runtime/StringPrototype.cpp

  Log Message:
  -----------
  [JSC] Use `LIKELY` and `UNLIKELY` in `String#at`
https://bugs.webkit.org/show_bug.cgi?id=286733

Reviewed by Yusuke Suzuki.

This patch changes to use `LIKELY` and `UNLIKELY` in `String#at`.

* Source/JavaScriptCore/runtime/StringPrototype.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):

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



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


More information about the webkit-changes mailing list