Title: [205477] trunk/Source/_javascript_Core
Revision
205477
Author
[email protected]
Date
2016-09-06 07:29:43 -0700 (Tue, 06 Sep 2016)

Log Message

Silence GCC warning spam introduced in r205462

Rubber-stamped by Filip Pizlo.

* bytecode/Opcode.h:
(JSC::padOpcodeName):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (205476 => 205477)


--- trunk/Source/_javascript_Core/ChangeLog	2016-09-06 12:30:51 UTC (rev 205476)
+++ trunk/Source/_javascript_Core/ChangeLog	2016-09-06 14:29:43 UTC (rev 205477)
@@ -1,3 +1,12 @@
+2016-09-06  Michael Catanzaro  <[email protected]>
+
+        Silence GCC warning spam introduced in r205462
+
+        Rubber-stamped by Filip Pizlo.
+
+        * bytecode/Opcode.h:
+        (JSC::padOpcodeName):
+
 2016-09-05  Filip Pizlo  <[email protected]>
 
         Heap::isMarked() should use concurrent lazy flipping

Modified: trunk/Source/_javascript_Core/bytecode/Opcode.h (205476 => 205477)


--- trunk/Source/_javascript_Core/bytecode/Opcode.h	2016-09-06 12:30:51 UTC (rev 205476)
+++ trunk/Source/_javascript_Core/bytecode/Opcode.h	2016-09-06 14:29:43 UTC (rev 205477)
@@ -75,10 +75,19 @@
     const int opcodeLengths[numOpcodeIDs] = { FOR_EACH_OPCODE_ID(OPCODE_ID_LENGTH_MAP) };
 #undef OPCODE_ID_LENGTH_MAP
 
+#if COMPILER(GCC)
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wtype-limits"
+#endif
+
 #define VERIFY_OPCODE_ID(id, size) COMPILE_ASSERT(id <= numOpcodeIDs, ASSERT_THAT_JS_OPCODE_IDS_ARE_VALID);
     FOR_EACH_OPCODE_ID(VERIFY_OPCODE_ID);
 #undef VERIFY_OPCODE_ID
 
+#if COMPILER(GCC)
+#pragma GCC diagnostic pop
+#endif
+
 #if ENABLE(COMPUTED_GOTO_OPCODES)
 typedef void* Opcode;
 #else
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to