summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/dfg/DFGFixupPhase.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2012-10-23 10:25:11 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2012-10-23 10:25:11 +0200
commit5ea819f80c6840c492386bfafbffb059c7e2091f (patch)
tree42ad0b1d82eff090d14278a088ea0f4840a0f938 /Source/JavaScriptCore/dfg/DFGFixupPhase.cpp
parent43a42f108af6bcbd91f2672731c3047c26213af1 (diff)
downloadqtwebkit-5ea819f80c6840c492386bfafbffb059c7e2091f.tar.gz
Imported WebKit commit 20434eb8eb95065803473139d8794e98a7672f75 (http://svn.webkit.org/repository/webkit/trunk@132191)
New snapshot that should fix build with latest qtbase and the QPlastiqueStyle removal
Diffstat (limited to 'Source/JavaScriptCore/dfg/DFGFixupPhase.cpp')
-rw-r--r--Source/JavaScriptCore/dfg/DFGFixupPhase.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/JavaScriptCore/dfg/DFGFixupPhase.cpp b/Source/JavaScriptCore/dfg/DFGFixupPhase.cpp
index 49212730c..5dcfe08a5 100644
--- a/Source/JavaScriptCore/dfg/DFGFixupPhase.cpp
+++ b/Source/JavaScriptCore/dfg/DFGFixupPhase.cpp
@@ -86,7 +86,7 @@ private:
ArrayProfile* arrayProfile =
m_graph.baselineCodeBlockFor(nodePtr->codeOrigin)->getArrayProfile(
nodePtr->codeOrigin.bytecodeIndex);
- Array::Mode arrayMode = Array::Undecided;
+ Array::Mode arrayMode = Array::SelectUsingPredictions;
if (arrayProfile) {
arrayProfile->computeUpdatedPrediction();
arrayMode = refineArrayMode(
@@ -436,7 +436,7 @@ private:
return;
}
- case Array::Undecided:
+ case Array::SelectUsingPredictions:
case Array::Unprofiled:
ASSERT_NOT_REACHED();
return;