DFG should be able to compute dominators
authorossy@webkit.org <ossy@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 22 May 2012 05:39:37 +0000 (05:39 +0000)
committerossy@webkit.org <ossy@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 22 May 2012 05:39:37 +0000 (05:39 +0000)
https://bugs.webkit.org/show_bug.cgi?id=85269

Unreviewed trivial 32 bit buildfix after r117861.

* dfg/DFGGraph.cpp:
(JSC::DFG::Graph::dump):

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

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/dfg/DFGGraph.cpp

index e669cef..e403d9f 100644 (file)
@@ -1,3 +1,13 @@
+2012-05-21  Csaba Osztrogonác  <ossy@webkit.org>
+
+        DFG should be able to compute dominators
+        https://bugs.webkit.org/show_bug.cgi?id=85269
+
+        Unreviewed trivial 32 bit buildfix after r117861.
+
+        * dfg/DFGGraph.cpp:
+        (JSC::DFG::Graph::dump):
+
 2012-05-21  Filip Pizlo  <fpizlo@apple.com>
 
         DFG should be able to compute dominators
index b14585a..ef98511 100644 (file)
@@ -288,14 +288,14 @@ void Graph::dump()
             for (size_t i = 0; i < m_blocks.size(); ++i) {
                 if (!m_dominators.dominates(i, b))
                     continue;
-                dataLog(" #%lu", i);
+                dataLog(" #%lu", static_cast<unsigned long>(i));
             }
             dataLog("\n");
             dataLog("  Dominates:");
             for (size_t i = 0; i < m_blocks.size(); ++i) {
                 if (!m_dominators.dominates(b, i))
                     continue;
-                dataLog(" #%lu", i);
+                dataLog(" #%lu", static_cast<unsigned long>(i));
             }
             dataLog("\n");
         }