Unreviewed, fix all of the builds. I had made an additional change that I did not...
authorfpizlo@apple.com <fpizlo@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 May 2016 21:44:29 +0000 (21:44 +0000)
committerfpizlo@apple.com <fpizlo@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 May 2016 21:44:29 +0000 (21:44 +0000)
commit. This fixes it.

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

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@201184 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WTF/ChangeLog
Source/WTF/wtf/BackwardsGraph.h

index 16fe234..dbefe73 100644 (file)
@@ -1,3 +1,13 @@
+2016-05-19  Filip Pizlo  <fpizlo@apple.com>
+
+        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  <fpizlo@apple.com>
 
         DFG::LICMPhase shouldn't hoist type checks unless it knows that the check will succeed at the loop pre-header
index 2c2ca14..cd073fb 100644 (file)
@@ -40,7 +40,7 @@ class BackwardsGraph {
     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 @@ public:
         void dump(PrintStream& out) const
         {
             if (m_hasRoot)
-                out.print(rootName, " ");
+                out.print(rootName(), " ");
             out.print(m_set);
         }
         
@@ -256,7 +256,7 @@ public:
         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();