Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 22fb65b6b34b5a6016c6ea280ea11d6ea8045b33
      
https://github.com/WebKit/WebKit/commit/22fb65b6b34b5a6016c6ea280ea11d6ea8045b33
  Author: Yusuke Suzuki <[email protected]>
  Date:   2026-03-10 (Tue, 10 Mar 2026)

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

  Log Message:
  -----------
  [JSC] Tighten JSBigInt hot path
https://bugs.webkit.org/show_bug.cgi?id=309543
rdar://172146208

Reviewed by Yijia Huang.

Compiler failed to remove safe index access of std::span in the
critically hot path. We put RELEASE_ASSERT to ensure the invariant
and use normal pointer for access instead.

* Source/JavaScriptCore/runtime/JSBigInt.cpp:
(JSC::JSBigInt::multiplyTextbook):
(JSC::JSBigInt::multiplySpecialLow):
(JSC::JSBigInt::cachedMod):
(JSC::JSBigInt::remainderImpl):

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



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

Reply via email to