Changeset 208404 in webkit for trunk/Source/JavaScriptCore/interpreter/Interpreter.cpp
- Timestamp:
- Nov 4, 2016, 4:02:19 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/interpreter/Interpreter.cpp
r208377 r208404 110 110 111 111 CallFrame* callerFrame = callFrame->callerFrame(); 112 CallSiteIndex callerCallSiteIndex = callerFrame->callSiteIndex(); 112 113 CodeBlock* callerCodeBlock = callerFrame->codeBlock(); 113 114 JSScope* callerScopeChain = callerFrame->uncheckedR(callerCodeBlock->scopeRegister().offset()).Register::scope(); … … 131 132 evalContextType = EvalContextType::None; 132 133 133 EvalExecutable* eval = callerCodeBlock->evalCodeCache().tryGet( callerCodeBlock->isStrictMode(), programSource, derivedContextType, evalContextType, isArrowFunctionContext, callerScopeChain);134 EvalExecutable* eval = callerCodeBlock->evalCodeCache().tryGet(programSource, callerCallSiteIndex); 134 135 if (!eval) { 135 136 if (!callerCodeBlock->isStrictMode()) { … … 148 149 ASSERT(!scope.exception()); 149 150 150 eval = callerCodeBlock->evalCodeCache().getSlow(callFrame, callerCodeBlock, callerCodeBlock->isStrictMode(), derivedContextType, evalContextType, isArrowFunctionContext, programSource, callerScopeChain);151 eval = callerCodeBlock->evalCodeCache().getSlow(callFrame, callerCodeBlock, programSource, callerCallSiteIndex, callerCodeBlock->isStrictMode(), derivedContextType, evalContextType, isArrowFunctionContext, callerScopeChain); 151 152 152 153 if (!eval)
Note:
See TracChangeset
for help on using the changeset viewer.