Ignore:
Timestamp:
Jul 14, 2020, 9:55:22 AM (5 years ago)
Author:
[email protected]
Message:

[JSC] Remove compiler warning in JSBigInt
https://bugs.webkit.org/show_bug.cgi?id=214298

Patch by Xan Lopez <Xan Lopez> on 2020-07-14
Reviewed by Sam Weinig.

  • runtime/JSBigInt.cpp:

(JSC::JSBigInt::parseInt): no need to ASSERT >= 0 with an unsigned int.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/runtime/JSBigInt.cpp

    r262392 r264346  
    24202420JSValue JSBigInt::parseInt(JSGlobalObject* nullOrGlobalObjectForOOM, VM& vm, CharType* data, unsigned length, unsigned startIndex, unsigned radix, ErrorParseMode errorParseMode, ParseIntSign sign, ParseIntMode parseMode)
    24212421{
    2422     ASSERT(length >= 0);
    24232422    unsigned p = startIndex;
    24242423
Note: See TracChangeset for help on using the changeset viewer.