Changeset 260664 in webkit


Ignore:
Timestamp:
Apr 24, 2020 1:11:04 PM (4 years ago)
Author:
ysuzuki@apple.com
Message:

Unreviewed, build fix in Windows
https://bugs.webkit.org/show_bug.cgi?id=210892

Windows MSVC does not have proper understanding of IGNORE_RETURN_TYPE_WARNINGS_BEGIN.

  • runtime/JSBigInt.h:

(JSC::invertBigIntCompareResult):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r260660 r260664  
     12020-04-24  Yusuke Suzuki  <ysuzuki@apple.com>
     2
     3        Unreviewed, build fix in Windows
     4        https://bugs.webkit.org/show_bug.cgi?id=210892
     5
     6        Windows MSVC does not have proper understanding of IGNORE_RETURN_TYPE_WARNINGS_BEGIN.
     7
     8        * runtime/JSBigInt.h:
     9        (JSC::invertBigIntCompareResult):
     10
    1112020-04-24  Yusuke Suzuki  <ysuzuki@apple.com>
    212
  • trunk/Source/JavaScriptCore/runtime/JSBigInt.h

    r260660 r260664  
    291291}
    292292
    293 #if !ASSERT_ENABLED
    294 IGNORE_RETURN_TYPE_WARNINGS_BEGIN
    295 #endif
    296293ALWAYS_INLINE JSBigInt::ComparisonResult invertBigIntCompareResult(JSBigInt::ComparisonResult comparisonResult)
    297294{
     
    301298    case JSBigInt::ComparisonResult::LessThan:
    302299        return JSBigInt::ComparisonResult::GreaterThan;
    303     case JSBigInt::ComparisonResult::Equal:
    304     case JSBigInt::ComparisonResult::Undefined:
     300    default:
    305301        return comparisonResult;
    306302    }
    307     ASSERT_NOT_REACHED();
    308303}
    309 #if !ASSERT_ENABLED
    310 IGNORE_RETURN_TYPE_WARNINGS_END
    311 #endif
    312304
    313305} // namespace JSC
Note: See TracChangeset for help on using the changeset viewer.