Title: [264346] trunk/Source/_javascript_Core
- Revision
- 264346
- Author
- commit-qu...@webkit.org
- Date
- 2020-07-14 09:55:22 -0700 (Tue, 14 Jul 2020)
Log Message
[JSC] Remove compiler warning in JSBigInt
https://bugs.webkit.org/show_bug.cgi?id=214298
Patch by Xan Lopez <x...@igalia.com> on 2020-07-14
Reviewed by Sam Weinig.
* runtime/JSBigInt.cpp:
(JSC::JSBigInt::parseInt): no need to ASSERT >= 0 with an unsigned int.
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (264345 => 264346)
--- trunk/Source/_javascript_Core/ChangeLog 2020-07-14 16:40:45 UTC (rev 264345)
+++ trunk/Source/_javascript_Core/ChangeLog 2020-07-14 16:55:22 UTC (rev 264346)
@@ -1,3 +1,13 @@
+2020-07-14 Xan Lopez <x...@igalia.com>
+
+ [JSC] Remove compiler warning in JSBigInt
+ https://bugs.webkit.org/show_bug.cgi?id=214298
+
+ Reviewed by Sam Weinig.
+
+ * runtime/JSBigInt.cpp:
+ (JSC::JSBigInt::parseInt): no need to ASSERT >= 0 with an unsigned int.
+
2020-07-14 Fujii Hironori <hironori.fu...@sony.com>
Unreviewed non-unified build fixes
Modified: trunk/Source/_javascript_Core/runtime/JSBigInt.cpp (264345 => 264346)
--- trunk/Source/_javascript_Core/runtime/JSBigInt.cpp 2020-07-14 16:40:45 UTC (rev 264345)
+++ trunk/Source/_javascript_Core/runtime/JSBigInt.cpp 2020-07-14 16:55:22 UTC (rev 264346)
@@ -2419,7 +2419,6 @@
template <typename CharType>
JSValue JSBigInt::parseInt(JSGlobalObject* nullOrGlobalObjectForOOM, VM& vm, CharType* data, unsigned length, unsigned startIndex, unsigned radix, ErrorParseMode errorParseMode, ParseIntSign sign, ParseIntMode parseMode)
{
- ASSERT(length >= 0);
unsigned p = startIndex;
if (parseMode != ParseIntMode::AllowEmptyString && startIndex == length) {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes