Title: [201184] trunk/Source/WTF
Revision
201184
Author
[email protected]
Date
2016-05-19 14:44:29 -0700 (Thu, 19 May 2016)

Log Message

Unreviewed, fix all of the builds. I had made an additional change that I did not mean to
commit. This fixes it.

* wtf/BackwardsGraph.h:
(WTF::BackwardsGraph::rootName):
(WTF::BackwardsGraph::Set::dump):
(WTF::BackwardsGraph::dump):

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (201183 => 201184)


--- trunk/Source/WTF/ChangeLog	2016-05-19 21:30:55 UTC (rev 201183)
+++ trunk/Source/WTF/ChangeLog	2016-05-19 21:44:29 UTC (rev 201184)
@@ -1,3 +1,13 @@
+2016-05-19  Filip Pizlo  <[email protected]>
+
+        Unreviewed, fix all of the builds. I had made an additional change that I did not mean to
+        commit. This fixes it.
+
+        * wtf/BackwardsGraph.h:
+        (WTF::BackwardsGraph::rootName):
+        (WTF::BackwardsGraph::Set::dump):
+        (WTF::BackwardsGraph::dump):
+
 2016-05-18  Filip Pizlo  <[email protected]>
 
         DFG::LICMPhase shouldn't hoist type checks unless it knows that the check will succeed at the loop pre-header

Modified: trunk/Source/WTF/wtf/BackwardsGraph.h (201183 => 201184)


--- trunk/Source/WTF/wtf/BackwardsGraph.h	2016-05-19 21:30:55 UTC (rev 201183)
+++ trunk/Source/WTF/wtf/BackwardsGraph.h	2016-05-19 21:44:29 UTC (rev 201184)
@@ -40,7 +40,7 @@
     WTF_MAKE_FAST_ALLOCATED;
 public:
     // We use "#end" to refer to the synthetic root we have created.
-    static const char* rootName = "#end";
+    static const char* rootName() { return "#end" };
 
     class Node {
     public:
@@ -112,7 +112,7 @@
         void dump(PrintStream& out) const
         {
             if (m_hasRoot)
-                out.print(rootName, " ");
+                out.print(rootName(), " ");
             out.print(m_set);
         }
         
@@ -256,7 +256,7 @@
         if (!node)
             out.print("<null>");
         else if (node.isRoot())
-            out.print(rootName);
+            out.print(rootName());
         else
             out.print(m_graph.dump(node.node()));
         return out.toCString();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to