Changeset 91883 in webkit for trunk/Source/JavaScriptCore/dfg/DFGOperations.cpp
- Timestamp:
- Jul 27, 2011, 4:48:56 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/dfg/DFGOperations.cpp
r91607 r91883 530 530 codePtr = executable->generatedJITCodeFor(kind).addressForCall(); 531 531 else { 532 execCallee->setScopeChain(callee->scope()); 532 533 FunctionExecutable* functionExecutable = static_cast<FunctionExecutable*>(executable); 533 JSObject* error = functionExecutable->compileFor(exec , callee->scope(), kind);534 JSObject* error = functionExecutable->compileFor(execCallee, callee->scope(), kind); 534 535 if (error) { 535 536 globalData->exception = createStackOverflowError(exec); … … 541 542 else 542 543 codePtr = functionExecutable->generatedJITCodeWithArityCheckFor(kind); 543 execCallee->setScopeChain(callee->scope());544 544 } 545 545 CallLinkInfo& callLinkInfo = exec->codeBlock()->getCallLinkInfo(returnAddress); … … 575 575 576 576 JSFunction* function = asFunction(calleeAsFunctionCell); 577 execCallee->setScopeChain(function->scopeUnchecked()); 577 578 ExecutableBase* executable = function->executable(); 578 579 if (UNLIKELY(!executable->hasJITCodeFor(kind))) { 579 580 FunctionExecutable* functionExecutable = static_cast<FunctionExecutable*>(executable); 580 JSObject* error = functionExecutable->compileFor(exec , function->scope(), kind);581 JSObject* error = functionExecutable->compileFor(execCallee, function->scope(), kind); 581 582 if (error) { 582 583 exec->globalData().exception = error; … … 584 585 } 585 586 } 586 execCallee->setScopeChain(function->scopeUnchecked());587 587 return executable->generatedJITCodeWithArityCheckFor(kind).executableAddress(); 588 588 }
Note:
See TracChangeset
for help on using the changeset viewer.