Changeset 270766 in webkit


Ignore:
Timestamp:
Dec 14, 2020, 3:46:06 AM (5 years ago)
Author:
rmorisset@apple.com
Message:

Minor cleanup of BigInts
https://bugs.webkit.org/show_bug.cgi?id=219253

Reviewed by Yusuke Suzuki.

  • runtime/JSBigInt.cpp:

(JSC::rightShiftByAbsolute):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r270764 r270766  
     12020-12-14  Robin Morisset  <rmorisset@apple.com>
     2
     3        Minor cleanup of BigInts
     4        https://bugs.webkit.org/show_bug.cgi?id=219253
     5
     6        Reviewed by Yusuke Suzuki.
     7
     8        * runtime/JSBigInt.cpp:
     9        (JSC::rightShiftByAbsolute):
     10
    1112020-12-13  Yusuke Suzuki  <ysuzuki@apple.com>
    212
  • trunk/Source/JavaScriptCore/runtime/JSBigInt.cpp

    r270298 r270766  
    20492049
    20502050    if (!bitsShift) {
     2051        result->setDigit(resultLength - 1, 0);
    20512052        for (unsigned i = digitalShift; i < length; i++)
    20522053            result->setDigit(i - digitalShift, x.digit(i));
Note: See TracChangeset for help on using the changeset viewer.