diff options
Diffstat (limited to 'Source/JavaScriptCore/dfg/DFGAbstractState.cpp')
-rw-r--r-- | Source/JavaScriptCore/dfg/DFGAbstractState.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Source/JavaScriptCore/dfg/DFGAbstractState.cpp b/Source/JavaScriptCore/dfg/DFGAbstractState.cpp index 6df40ca6f..3eb5463a7 100644 --- a/Source/JavaScriptCore/dfg/DFGAbstractState.cpp +++ b/Source/JavaScriptCore/dfg/DFGAbstractState.cpp @@ -774,19 +774,16 @@ bool AbstractState::execute(unsigned indexInBlock) destination.merge(PredictObjectOther); break; } - + case CreateThis: { - Node& child = m_graph[node.child1()]; AbstractValue& source = forNode(node.child1()); AbstractValue& destination = forNode(nodeIndex); - if (child.shouldSpeculateFinalObject()) - source.filter(PredictFinalObject); - + source.filter(PredictFunction); destination.set(PredictFinalObject); break; } - + case NewObject: forNode(nodeIndex).set(m_codeBlock->globalObjectFor(node.codeOrigin)->emptyObjectStructure()); m_haveStructures = true; |