diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2012-11-22 09:09:45 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2012-11-22 09:10:13 +0100 |
commit | 470286ecfe79d59df14944e5b5d34630fc739391 (patch) | |
tree | 43983212872e06cebefd2ae474418fa2908ca54c /Source/JavaScriptCore/dfg/DFGVirtualRegisterAllocationPhase.cpp | |
parent | 23037105e948c2065da5a937d3a2396b0ff45c1e (diff) | |
download | qtwebkit-470286ecfe79d59df14944e5b5d34630fc739391.tar.gz |
Imported WebKit commit e89504fa9195b2063b2530961d4b73dd08de3242 (http://svn.webkit.org/repository/webkit/trunk@135485)
Change-Id: I03774e5ac79721c13ffa30d152537a74d0b12e66
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'Source/JavaScriptCore/dfg/DFGVirtualRegisterAllocationPhase.cpp')
-rw-r--r-- | Source/JavaScriptCore/dfg/DFGVirtualRegisterAllocationPhase.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Source/JavaScriptCore/dfg/DFGVirtualRegisterAllocationPhase.cpp b/Source/JavaScriptCore/dfg/DFGVirtualRegisterAllocationPhase.cpp index 86b33835d..eb3232e69 100644 --- a/Source/JavaScriptCore/dfg/DFGVirtualRegisterAllocationPhase.cpp +++ b/Source/JavaScriptCore/dfg/DFGVirtualRegisterAllocationPhase.cpp @@ -43,9 +43,9 @@ public: bool run() { #if DFG_ENABLE(DEBUG_VERBOSE) - dataLog("Preserved vars: "); + dataLogF("Preserved vars: "); m_graph.m_preservedVars.dump(WTF::dataFile()); - dataLog("\n"); + dataLogF("\n"); #endif ScoreBoard scoreBoard(m_graph, m_graph.m_preservedVars); scoreBoard.assertClear(); @@ -62,8 +62,8 @@ public: NodeIndex nodeIndex = block->at(indexInBlock); #if DFG_ENABLE(DEBUG_PROPAGATION_VERBOSE) if (needsNewLine) - dataLog("\n"); - dataLog(" @%u:", nodeIndex); + dataLogF("\n"); + dataLogF(" @%u:", nodeIndex); needsNewLine = true; #endif Node& node = m_graph[nodeIndex]; @@ -92,7 +92,7 @@ public: VirtualRegister virtualRegister = scoreBoard.allocate(); #if DFG_ENABLE(DEBUG_PROPAGATION_VERBOSE) - dataLog(" Assigning virtual register %u to node %u.", + dataLogF(" Assigning virtual register %u to node %u.", virtualRegister, nodeIndex); #endif node.setVirtualRegister(virtualRegister); @@ -105,7 +105,7 @@ public: } #if DFG_ENABLE(DEBUG_PROPAGATION_VERBOSE) if (needsNewLine) - dataLog("\n"); + dataLogF("\n"); #endif // 'm_numCalleeRegisters' is the number of locals and temporaries allocated @@ -123,7 +123,7 @@ public: if ((unsigned)codeBlock()->m_numCalleeRegisters < calleeRegisters) codeBlock()->m_numCalleeRegisters = calleeRegisters; #if DFG_ENABLE(DEBUG_VERBOSE) - dataLog("Num callee registers: %u\n", calleeRegisters); + dataLogF("Num callee registers: %u\n", calleeRegisters); #endif return true; |