From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Source/JavaScriptCore/dfg/DFGPredictionInjectionPhase.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Source/JavaScriptCore/dfg/DFGPredictionInjectionPhase.cpp') diff --git a/Source/JavaScriptCore/dfg/DFGPredictionInjectionPhase.cpp b/Source/JavaScriptCore/dfg/DFGPredictionInjectionPhase.cpp index 21da5fe0a..27fb90373 100644 --- a/Source/JavaScriptCore/dfg/DFGPredictionInjectionPhase.cpp +++ b/Source/JavaScriptCore/dfg/DFGPredictionInjectionPhase.cpp @@ -31,7 +31,7 @@ #include "DFGBasicBlockInlines.h" #include "DFGGraph.h" #include "DFGPhase.h" -#include "Operations.h" +#include "JSCInlines.h" namespace JSC { namespace DFG { @@ -49,7 +49,7 @@ public: ASSERT(codeBlock()->numParameters() >= 1); { - ConcurrentJITLocker locker(profiledBlock()->m_lock); + ConcurrentJSLocker locker(profiledBlock()->m_lock); for (size_t arg = 0; arg < static_cast(codeBlock()->numParameters()); ++arg) { ValueProfile* profile = profiledBlock()->valueProfileForArgument(arg); @@ -74,7 +74,7 @@ public: Node* node = block->variablesAtHead.operand(operand); if (!node) continue; - ASSERT(node->hasLocal(m_graph)); + ASSERT(node->accessesStack(m_graph)); node->variableAccessData()->predict( speculationFromValue(m_graph.m_plan.mustHandleValues[i])); } @@ -86,7 +86,6 @@ public: bool performPredictionInjection(Graph& graph) { - SamplingRegion samplingRegion("DFG Prediction Injection Phase"); return runPhase(graph); } -- cgit v1.2.1