Title: [221225] trunk/Source
Revision
221225
Author
[email protected]
Date
2017-08-26 01:40:49 -0700 (Sat, 26 Aug 2017)

Log Message

Unreviewed, suppress warnings in GTK port

Source/_javascript_Core:

The "block" variable hides the argument variable.

* dfg/DFGLiveCatchVariablePreservationPhase.cpp:
(JSC::DFG::LiveCatchVariablePreservationPhase::isValidFlushLocation):

Source/WTF:

Add printf format attribute.

* wtf/text/WTFString.cpp:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (221224 => 221225)


--- trunk/Source/_javascript_Core/ChangeLog	2017-08-26 08:29:00 UTC (rev 221224)
+++ trunk/Source/_javascript_Core/ChangeLog	2017-08-26 08:40:49 UTC (rev 221225)
@@ -1,5 +1,14 @@
 2017-08-26  Yusuke Suzuki  <[email protected]>
 
+        Unreviewed, suppress warnings in GTK port
+
+        The "block" variable hides the argument variable.
+
+        * dfg/DFGLiveCatchVariablePreservationPhase.cpp:
+        (JSC::DFG::LiveCatchVariablePreservationPhase::isValidFlushLocation):
+
+2017-08-26  Yusuke Suzuki  <[email protected]>
+
         Merge WeakMapData into JSWeakMap and JSWeakSet
         https://bugs.webkit.org/show_bug.cgi?id=143919
 

Modified: trunk/Source/_javascript_Core/dfg/DFGLiveCatchVariablePreservationPhase.cpp (221224 => 221225)


--- trunk/Source/_javascript_Core/dfg/DFGLiveCatchVariablePreservationPhase.cpp	2017-08-26 08:29:00 UTC (rev 221224)
+++ trunk/Source/_javascript_Core/dfg/DFGLiveCatchVariablePreservationPhase.cpp	2017-08-26 08:40:49 UTC (rev 221225)
@@ -71,10 +71,10 @@
         BlockSet seen;
 
         auto addPredecessors = [&] (BasicBlock* block) {
-            for (BasicBlock* block : block->predecessors) {
-                bool isNewEntry = seen.add(block);
+            for (BasicBlock* predecessor : block->predecessors) {
+                bool isNewEntry = seen.add(predecessor);
                 if (isNewEntry)
-                    worklist.append(block);
+                    worklist.append(predecessor);
             }
         };
 

Modified: trunk/Source/WTF/ChangeLog (221224 => 221225)


--- trunk/Source/WTF/ChangeLog	2017-08-26 08:29:00 UTC (rev 221224)
+++ trunk/Source/WTF/ChangeLog	2017-08-26 08:40:49 UTC (rev 221225)
@@ -1,3 +1,11 @@
+2017-08-26  Yusuke Suzuki  <[email protected]>
+
+        Unreviewed, suppress warnings in GTK port
+
+        Add printf format attribute.
+
+        * wtf/text/WTFString.cpp:
+
 2017-08-25  Eric Carlson  <[email protected]>
 
         Add Logger::logAlways

Modified: trunk/Source/WTF/wtf/text/WTFString.cpp (221224 => 221225)


--- trunk/Source/WTF/wtf/text/WTFString.cpp	2017-08-26 08:29:00 UTC (rev 221224)
+++ trunk/Source/WTF/wtf/text/WTFString.cpp	2017-08-26 08:40:49 UTC (rev 221225)
@@ -465,6 +465,7 @@
     return result;
 }
 
+WTF_ATTRIBUTE_PRINTF(1, 0)
 static String createWithFormatAndArguments(const char *format, va_list args)
 {
     va_list argsCopy;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to