Title: [254395] trunk/Source/_javascript_Core
- Revision
- 254395
- Author
- [email protected]
- Date
- 2020-01-11 00:18:23 -0800 (Sat, 11 Jan 2020)
Log Message
Unreviewed, suppress warnings in GCC
https://bugs.webkit.org/show_bug.cgi?id=202832
* bytecode/ArithProfile.h:
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (254394 => 254395)
--- trunk/Source/_javascript_Core/ChangeLog 2020-01-11 08:07:40 UTC (rev 254394)
+++ trunk/Source/_javascript_Core/ChangeLog 2020-01-11 08:18:23 UTC (rev 254395)
@@ -1,3 +1,10 @@
+2020-01-11 Yusuke Suzuki <[email protected]>
+
+ Unreviewed, suppress warnings in GCC
+ https://bugs.webkit.org/show_bug.cgi?id=202832
+
+ * bytecode/ArithProfile.h:
+
2020-01-10 Yusuke Suzuki <[email protected]>
[JSC] Flush old tables in End phase
Modified: trunk/Source/_javascript_Core/bytecode/ArithProfile.h (254394 => 254395)
--- trunk/Source/_javascript_Core/bytecode/ArithProfile.h 2020-01-11 08:07:40 UTC (rev 254394)
+++ trunk/Source/_javascript_Core/bytecode/ArithProfile.h 2020-01-11 08:18:23 UTC (rev 254395)
@@ -260,7 +260,7 @@
static_assert((lhsObservedTypeShift + ObservedType::numBitsNeeded + 1) <= sizeof(BinaryArithProfileBase) * 8, "Should fit in a uint32_t.");
static_assert(!(specialFastPathBit & ~clearLhsObservedTypeBitMask), "These bits should not intersect.");
static_assert(specialFastPathBit & clearLhsObservedTypeBitMask, "These bits should intersect.");
- static_assert(specialFastPathBit > ~clearLhsObservedTypeBitMask, "These bits should not intersect and specialFastPathBit should be a higher bit.");
+ static_assert(static_cast<unsigned>(specialFastPathBit) > static_cast<unsigned>(~clearLhsObservedTypeBitMask), "These bits should not intersect and specialFastPathBit should be a higher bit.");
BinaryArithProfile()
: ArithProfile<BinaryArithProfileBase> ()
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes