diff options
author | Simon Hausmann <simon.hausmann@nokia.com> | 2012-05-07 11:21:11 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@nokia.com> | 2012-05-07 11:21:11 +0200 |
commit | 2cf6c8816a73e0132bd8fa3b509d62d7c51b6e47 (patch) | |
tree | 988e8c5b116dd0466244ae2fe5af8ee9be926d76 /Source/JavaScriptCore/dfg/DFGRedundantPhiEliminationPhase.cpp | |
parent | dd91e772430dc294e3bf478c119ef8d43c0a3358 (diff) | |
download | qtwebkit-2cf6c8816a73e0132bd8fa3b509d62d7c51b6e47.tar.gz |
Imported WebKit commit 7e538425aa020340619e927792f3d895061fb54b (http://svn.webkit.org/repository/webkit/trunk@116286)
Diffstat (limited to 'Source/JavaScriptCore/dfg/DFGRedundantPhiEliminationPhase.cpp')
-rw-r--r-- | Source/JavaScriptCore/dfg/DFGRedundantPhiEliminationPhase.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/JavaScriptCore/dfg/DFGRedundantPhiEliminationPhase.cpp b/Source/JavaScriptCore/dfg/DFGRedundantPhiEliminationPhase.cpp index fb30de742..b16a72a7e 100644 --- a/Source/JavaScriptCore/dfg/DFGRedundantPhiEliminationPhase.cpp +++ b/Source/JavaScriptCore/dfg/DFGRedundantPhiEliminationPhase.cpp @@ -55,7 +55,7 @@ public: if (!node.shouldGenerate()) continue; - switch (node.op) { + switch (node.op()) { case GetLocal: replacePhiChild(node, 0); break; @@ -95,7 +95,7 @@ private: bool replaced = false; NodeIndex child = node.children.child(childIndex).indexUnchecked(); - if (child != NoNode && m_graph[child].op == Phi) { + if (child != NoNode && m_graph[child].op() == Phi) { NodeIndex childReplacement = getRedundantReplacement(child); if (childReplacement != NoNode) { node.children.child(childIndex).setIndex(childReplacement); @@ -138,7 +138,7 @@ private: for (size_t arg = 0; arg < basicBlock->variablesAtHead.numberOfArguments(); ++arg) { NodeIndex nodeIndex = basicBlock->variablesAtHead.argument(arg); - if (nodeIndex != NoNode && m_graph[nodeIndex].op == Phi && !m_graph[nodeIndex].refCount()) { + if (nodeIndex != NoNode && m_graph[nodeIndex].op() == Phi && !m_graph[nodeIndex].refCount()) { NodeIndex replacement = getRedundantReplacement(nodeIndex); if (replacement != NoNode) { // This argument must be unused in this block. @@ -151,7 +151,7 @@ private: for (size_t local = 0; local < basicBlock->variablesAtHead.numberOfLocals(); ++local) { NodeIndex nodeIndex = basicBlock->variablesAtHead.local(local); - if (nodeIndex != NoNode && m_graph[nodeIndex].op == Phi && !m_graph[nodeIndex].refCount()) { + if (nodeIndex != NoNode && m_graph[nodeIndex].op() == Phi && !m_graph[nodeIndex].refCount()) { NodeIndex replacement = getRedundantReplacement(nodeIndex); if (replacement != NoNode) { // This local variable must be unused in this block. |