Changeset 254395 in webkit


Ignore:
Timestamp:
Jan 11, 2020 12:18:23 AM (4 years ago)
Author:
ysuzuki@apple.com
Message:

Unreviewed, suppress warnings in GCC
https://bugs.webkit.org/show_bug.cgi?id=202832

  • bytecode/ArithProfile.h:
Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r254393 r254395  
     12020-01-11  Yusuke Suzuki  <ysuzuki@apple.com>
     2
     3        Unreviewed, suppress warnings in GCC
     4        https://bugs.webkit.org/show_bug.cgi?id=202832
     5
     6        * bytecode/ArithProfile.h:
     7
    182020-01-10  Yusuke Suzuki  <ysuzuki@apple.com>
    29
  • trunk/Source/JavaScriptCore/bytecode/ArithProfile.h

    r252680 r254395  
    261261    static_assert(!(specialFastPathBit & ~clearLhsObservedTypeBitMask), "These bits should not intersect.");
    262262    static_assert(specialFastPathBit & clearLhsObservedTypeBitMask, "These bits should intersect.");
    263     static_assert(specialFastPathBit > ~clearLhsObservedTypeBitMask, "These bits should not intersect and specialFastPathBit should be a higher bit.");
     263    static_assert(static_cast<unsigned>(specialFastPathBit) > static_cast<unsigned>(~clearLhsObservedTypeBitMask), "These bits should not intersect and specialFastPathBit should be a higher bit.");
    264264
    265265    BinaryArithProfile()
Note: See TracChangeset for help on using the changeset viewer.