[webkit-changes] [WebKit/WebKit] f70606: [JSC] Extend JSBigInt::compare and JSBigInt::compa...

Commit Queue noreply at github.com
Wed Mar 20 14:07:14 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f706066e1e24e20a84f82374480a7b33e1de2d10
      https://github.com/WebKit/WebKit/commit/f706066e1e24e20a84f82374480a7b33e1de2d10
  Author: Yijia Huang <yijia_huang at apple.com>
  Date:   2024-03-20 (Wed, 20 Mar 2024)

  Changed paths:
    M Source/JavaScriptCore/runtime/JSBigInt.cpp
    M Source/JavaScriptCore/runtime/JSBigInt.h
    M Source/WTF/wtf/MathExtras.h

  Log Message:
  -----------
  [JSC] Extend JSBigInt::compare and JSBigInt::compareToDouble for Int64 and Int32
https://bugs.webkit.org/show_bug.cgi?id=271073
rdar://124706111

Reviewed by Keith Miller.

This patch extends JSBigInt::compare and JSBigInt::compareToDouble
for Int64 and Int32.

* Source/JavaScriptCore/runtime/JSBigInt.cpp:
(JSC::Int64BigIntImpl::Int64BigIntImpl):
(JSC::Int64BigIntImpl::isZero):
(JSC::Int64BigIntImpl::sign):
(JSC::Int64BigIntImpl::length):
(JSC::Int64BigIntImpl::digit):
(JSC::JSBigInt::compare):
(JSC::JSBigInt::compareToDouble):
* Source/JavaScriptCore/runtime/JSBigInt.h:

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