Title: [213769] trunk/Source/_javascript_Core
- Revision
- 213769
- Author
- [email protected]
- Date
- 2017-03-11 23:54:19 -0800 (Sat, 11 Mar 2017)
Log Message
Unreviewed, suprress warnings in JSC B3
* b3/B3Opcode.cpp:
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (213768 => 213769)
--- trunk/Source/_javascript_Core/ChangeLog 2017-03-12 06:27:49 UTC (rev 213768)
+++ trunk/Source/_javascript_Core/ChangeLog 2017-03-12 07:54:19 UTC (rev 213769)
@@ -1,3 +1,9 @@
+2017-03-11 Yusuke Suzuki <[email protected]>
+
+ Unreviewed, suprress warnings in JSC B3
+
+ * b3/B3Opcode.cpp:
+
2017-03-11 Michael Saboff <[email protected]>
Allow regular expressions to be used when selecting a process name in JSC config file
Modified: trunk/Source/_javascript_Core/b3/B3Opcode.cpp (213768 => 213769)
--- trunk/Source/_javascript_Core/b3/B3Opcode.cpp 2017-03-12 06:27:49 UTC (rev 213768)
+++ trunk/Source/_javascript_Core/b3/B3Opcode.cpp 2017-03-12 07:54:19 UTC (rev 213769)
@@ -30,6 +30,11 @@
#include <wtf/PrintStream.h>
+#if COMPILER(GCC) && ASSERT_DISABLED
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wreturn-type"
+#endif // COMPILER(GCC) && ASSERT_DISABLED
+
namespace JSC { namespace B3 {
std::optional<Opcode> invertedCompare(Opcode opcode, Type type)
@@ -364,4 +369,8 @@
} // namespace WTF
+#if COMPILER(GCC) && ASSERT_DISABLED
+#pragma GCC diagnostic pop
+#endif // COMPILER(GCC) && ASSERT_DISABLED
+
#endif // ENABLE(B3_JIT)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes