Changeset 190589 in webkit for trunk/Source/JavaScriptCore/dfg/DFGOSRExitCompilerCommon.cpp
- Timestamp:
- Oct 5, 2015, 4:31:53 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/dfg/DFGOSRExitCompilerCommon.cpp
r190546 r190589 70 70 AssemblyHelpers::NonZero, 71 71 AssemblyHelpers::AbsoluteAddress( 72 inlineCallFrame-> executable->addressOfDidTryToEnterInLoop())));72 inlineCallFrame->baselineCodeBlock->ownerScriptExecutable()->addressOfDidTryToEnterInLoop()))); 73 73 } 74 74 … … 269 269 void adjustAndJumpToTarget(CCallHelpers& jit, const OSRExitBase& exit, bool isExitingToOpCatch) 270 270 { 271 jit.move(AssemblyHelpers::TrustedImmPtr(jit.codeBlock()->ownerExecutable()), GPRInfo::argumentGPR1); 271 CodeBlock* baselineCodeBlock = jit.baselineCodeBlockFor(exit.m_codeOrigin); 272 jit.move(AssemblyHelpers::TrustedImmPtr(baselineCodeBlock), GPRInfo::argumentGPR1); 272 273 osrWriteBarrier(jit, GPRInfo::argumentGPR1, GPRInfo::nonArgGPR0); 273 274 InlineCallFrameSet* inlineCallFrames = jit.codeBlock()->jitCode()->dfgCommon()->inlineCallFrames.get(); 274 275 if (inlineCallFrames) { 275 276 for (InlineCallFrame* inlineCallFrame : *inlineCallFrames) { 276 ScriptExecutable* ownerExecutable = inlineCallFrame->executable.get();277 jit.move(AssemblyHelpers::TrustedImmPtr( ownerExecutable), GPRInfo::argumentGPR1);277 CodeBlock* baselineCodeBlock = inlineCallFrame->baselineCodeBlock.get(); 278 jit.move(AssemblyHelpers::TrustedImmPtr(baselineCodeBlock), GPRInfo::argumentGPR1); 278 279 osrWriteBarrier(jit, GPRInfo::argumentGPR1, GPRInfo::nonArgGPR0); 279 280 } … … 283 284 jit.addPtr(AssemblyHelpers::TrustedImm32(exit.m_codeOrigin.inlineCallFrame->stackOffset * sizeof(EncodedJSValue)), GPRInfo::callFrameRegister); 284 285 285 CodeBlock* baselineCodeBlock = jit.baselineCodeBlockFor(exit.m_codeOrigin);286 286 Vector<BytecodeAndMachineOffset>& decodedCodeMap = jit.decodedCodeMapFor(baselineCodeBlock); 287 287
Note:
See TracChangeset
for help on using the changeset viewer.