Title: [221124] trunk/Source
Revision
221124
Author
[email protected]
Date
2017-08-23 18:05:02 -0700 (Wed, 23 Aug 2017)

Log Message

Unreviewed, build fix in GTK port
https://bugs.webkit.org/show_bug.cgi?id=174590

Source/_javascript_Core:

* bytecompiler/BytecodeGenerator.cpp:
(JSC::BytecodeGenerator::emitCatch):
* bytecompiler/BytecodeGenerator.h:

Source/WTF:

* wtf/SingleRootGraph.h:
(WTF::SingleRootGraph::successors const):
(WTF::SingleRootGraph::predecessors const):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (221123 => 221124)


--- trunk/Source/_javascript_Core/ChangeLog	2017-08-24 00:39:23 UTC (rev 221123)
+++ trunk/Source/_javascript_Core/ChangeLog	2017-08-24 01:05:02 UTC (rev 221124)
@@ -1,3 +1,12 @@
+2017-08-23  Yusuke Suzuki  <[email protected]>
+
+        Unreviewed, build fix in GTK port
+        https://bugs.webkit.org/show_bug.cgi?id=174590
+
+        * bytecompiler/BytecodeGenerator.cpp:
+        (JSC::BytecodeGenerator::emitCatch):
+        * bytecompiler/BytecodeGenerator.h:
+
 2017-08-23  Saam Barati  <[email protected]>
 
         Support compiling catch in the DFG

Modified: trunk/Source/_javascript_Core/bytecompiler/BytecodeGenerator.cpp (221123 => 221124)


--- trunk/Source/_javascript_Core/bytecompiler/BytecodeGenerator.cpp	2017-08-24 00:39:23 UTC (rev 221123)
+++ trunk/Source/_javascript_Core/bytecompiler/BytecodeGenerator.cpp	2017-08-24 01:05:02 UTC (rev 221124)
@@ -4023,7 +4023,7 @@
 
 void BytecodeGenerator::emitCatch(RegisterID* exceptionRegister, RegisterID* thrownValueRegister, TryData* data)
 {
-    m_catchesToEmit.append({ data, exceptionRegister->index(), thrownValueRegister->index() });
+    m_catchesToEmit.append(CatchEntry { data, exceptionRegister->index(), thrownValueRegister->index() });
 }
 
 void BytecodeGenerator::restoreScopeRegister(int lexicalScopeIndex)

Modified: trunk/Source/_javascript_Core/bytecompiler/BytecodeGenerator.h (221123 => 221124)


--- trunk/Source/_javascript_Core/bytecompiler/BytecodeGenerator.h	2017-08-24 00:39:23 UTC (rev 221123)
+++ trunk/Source/_javascript_Core/bytecompiler/BytecodeGenerator.h	2017-08-24 01:05:02 UTC (rev 221124)
@@ -1201,7 +1201,8 @@
         bool m_needsToUpdateArrowFunctionContext;
         DerivedContextType m_derivedContextType { DerivedContextType::None };
 
-        Vector<std::tuple<TryData*, int, int>> m_catchesToEmit;
+        using CatchEntry = std::tuple<TryData*, int, int>;
+        Vector<CatchEntry> m_catchesToEmit;
     };
 
 } // namespace JSC

Modified: trunk/Source/WTF/ChangeLog (221123 => 221124)


--- trunk/Source/WTF/ChangeLog	2017-08-24 00:39:23 UTC (rev 221123)
+++ trunk/Source/WTF/ChangeLog	2017-08-24 01:05:02 UTC (rev 221124)
@@ -1,3 +1,12 @@
+2017-08-23  Yusuke Suzuki  <[email protected]>
+
+        Unreviewed, build fix in GTK port
+        https://bugs.webkit.org/show_bug.cgi?id=174590
+
+        * wtf/SingleRootGraph.h:
+        (WTF::SingleRootGraph::successors const):
+        (WTF::SingleRootGraph::predecessors const):
+
 2017-08-23  Saam Barati  <[email protected]>
 
         Support compiling catch in the DFG

Modified: trunk/Source/WTF/wtf/SingleRootGraph.h (221123 => 221124)


--- trunk/Source/WTF/wtf/SingleRootGraph.h	2017-08-24 00:39:23 UTC (rev 221123)
+++ trunk/Source/WTF/wtf/SingleRootGraph.h	2017-08-24 01:05:02 UTC (rev 221124)
@@ -206,8 +206,8 @@
         if (node.isRoot())
             return m_rootSuccessorList;
         List result;
-        for (typename Graph::Node node : m_graph.successors(node.node()))
-            result.append(node);
+        for (typename Graph::Node successor : m_graph.successors(node.node()))
+            result.append(successor);
         return result;
     }
 
@@ -224,8 +224,8 @@
         }
 
         List result;
-        for (typename Graph::Node node : m_graph.predecessors(node.node()))
-            result.append(node);
+        for (typename Graph::Node predecessor : m_graph.predecessors(node.node()))
+            result.append(predecessor);
         return result;
     }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to