Title: [219192] trunk/Source/_javascript_Core
Revision
219192
Author
utatane....@gmail.com
Date
2017-07-06 02:07:01 -0700 (Thu, 06 Jul 2017)

Log Message

Unreviewed, suppress warnings in GCC environment

* dfg/DFGObjectAllocationSinkingPhase.cpp:
* runtime/IntlCollator.cpp:
* runtime/IntlDateTimeFormat.cpp:
* runtime/JSGlobalObject.cpp:
* runtime/StringPrototype.cpp:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (219191 => 219192)


--- trunk/Source/_javascript_Core/ChangeLog	2017-07-06 05:51:32 UTC (rev 219191)
+++ trunk/Source/_javascript_Core/ChangeLog	2017-07-06 09:07:01 UTC (rev 219192)
@@ -1,3 +1,13 @@
+2017-07-06  Yusuke Suzuki  <utatane....@gmail.com>
+
+        Unreviewed, suppress warnings in GCC environment
+
+        * dfg/DFGObjectAllocationSinkingPhase.cpp:
+        * runtime/IntlCollator.cpp:
+        * runtime/IntlDateTimeFormat.cpp:
+        * runtime/JSGlobalObject.cpp:
+        * runtime/StringPrototype.cpp:
+
 2017-07-05  Saam Barati  <sbar...@apple.com>
 
         NewArray in FTLLowerDFGToB3 does not handle speculating on doubles when having a bad time

Modified: trunk/Source/_javascript_Core/dfg/DFGObjectAllocationSinkingPhase.cpp (219191 => 219192)


--- trunk/Source/_javascript_Core/dfg/DFGObjectAllocationSinkingPhase.cpp	2017-07-06 05:51:32 UTC (rev 219191)
+++ trunk/Source/_javascript_Core/dfg/DFGObjectAllocationSinkingPhase.cpp	2017-07-06 09:07:01 UTC (rev 219192)
@@ -50,6 +50,7 @@
 
 NO_RETURN_DUE_TO_CRASH NEVER_INLINE void crash(const char*, int line, int)
 {
+    UNUSED_PARAM(line);
     CRASH_WITH_SECURITY_IMPLICATION_AND_INFO(ObjectAllocationSinkingAssertionFailure, line);
 }
 

Modified: trunk/Source/_javascript_Core/runtime/IntlCollator.cpp (219191 => 219192)


--- trunk/Source/_javascript_Core/runtime/IntlCollator.cpp	2017-07-06 05:51:32 UTC (rev 219191)
+++ trunk/Source/_javascript_Core/runtime/IntlCollator.cpp	2017-07-06 09:07:01 UTC (rev 219192)
@@ -39,10 +39,14 @@
 #include "ObjectConstructor.h"
 #include "SlotVisitorInlines.h"
 #include "StructureInlines.h"
+#if COMPILER(CLANG)
 #pragma clang diagnostic push
 #pragma clang diagnostic ignored "-Wdocumentation"
+#endif
 #include <unicode/ucol.h>
+#if COMPILER(CLANG)
 #pragma clang diagnostic pop
+#endif
 #include <wtf/unicode/Collator.h>
 
 namespace JSC {

Modified: trunk/Source/_javascript_Core/runtime/IntlDateTimeFormat.cpp (219191 => 219192)


--- trunk/Source/_javascript_Core/runtime/IntlDateTimeFormat.cpp	2017-07-06 05:51:32 UTC (rev 219191)
+++ trunk/Source/_javascript_Core/runtime/IntlDateTimeFormat.cpp	2017-07-06 09:07:01 UTC (rev 219192)
@@ -37,10 +37,14 @@
 #include "JSCInlines.h"
 #include "ObjectConstructor.h"
 #include <unicode/ucal.h>
+#if COMPILER(CLANG)
 #pragma clang diagnostic push
 #pragma clang diagnostic ignored "-Wdocumentation"
+#endif
 #include <unicode/udatpg.h>
+#if COMPILER(CLANG)
 #pragma clang diagnostic pop
+#endif
 #include <unicode/uenum.h>
 #include <wtf/text/StringBuilder.h>
 

Modified: trunk/Source/_javascript_Core/runtime/JSGlobalObject.cpp (219191 => 219192)


--- trunk/Source/_javascript_Core/runtime/JSGlobalObject.cpp	2017-07-06 05:51:32 UTC (rev 219191)
+++ trunk/Source/_javascript_Core/runtime/JSGlobalObject.cpp	2017-07-06 09:07:01 UTC (rev 219192)
@@ -169,10 +169,14 @@
 
 #if ENABLE(INTL)
 #include "IntlObject.h"
+#if COMPILER(CLANG)
 #pragma clang diagnostic push
 #pragma clang diagnostic ignored "-Wdocumentation"
+#endif
 #include <unicode/ucol.h>
+#if COMPILER(CLANG)
 #pragma clang diagnostic pop
+#endif
 #include <unicode/udat.h>
 #include <unicode/unum.h>
 #endif // ENABLE(INTL)

Modified: trunk/Source/_javascript_Core/runtime/StringPrototype.cpp (219191 => 219192)


--- trunk/Source/_javascript_Core/runtime/StringPrototype.cpp	2017-07-06 05:51:32 UTC (rev 219191)
+++ trunk/Source/_javascript_Core/runtime/StringPrototype.cpp	2017-07-06 09:07:01 UTC (rev 219192)
@@ -46,10 +46,14 @@
 #include "SuperSampler.h"
 #include <algorithm>
 #include <unicode/uconfig.h>
+#if COMPILER(CLANG)
 #pragma clang diagnostic push
 #pragma clang diagnostic ignored "-Wdocumentation"
+#endif
 #include <unicode/unorm.h>
+#if COMPILER(CLANG)
 #pragma clang diagnostic pop
+#endif
 #include <unicode/ustring.h>
 #include <wtf/ASCIICType.h>
 #include <wtf/MathExtras.h>
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to