• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/JavaScriptCore-7537.78.1/interpreter/

Lines Matching refs:bytecodeOffset

140 static CallFrame* getCallerInfo(VM*, CallFrame*, unsigned& bytecodeOffset, CodeBlock*& callerOut);
361 unsigned bytecodeOffset = 0;
364 getCallerInfo(&callFrame->vm(), callFrame, bytecodeOffset, callerCodeBlock);
365 line = callerCodeBlock->lineNumberForBytecodeOffset(bytecodeOffset);
366 dataLogF("[ReturnVPC] | %10p | %d (line %d)\n", it, bytecodeOffset, line);
416 NEVER_INLINE bool Interpreter::unwindCallFrame(CallFrame*& callFrame, JSValue exceptionValue, unsigned& bytecodeOffset, CodeBlock*& codeBlock)
449 callFrame = getCallerInfo(&callFrame->vm(), callFrame, bytecodeOffset, codeBlock);
453 static void appendSourceToError(CallFrame* callFrame, ErrorInstance* exception, unsigned bytecodeOffset)
467 codeBlock->expressionRangeForBytecodeOffset(bytecodeOffset, divotPoint, startOffset, endOffset, line, column);
520 static CallFrame* getCallerInfo(VM* vm, CallFrame* callFrame, unsigned& bytecodeOffset, CodeBlock*& caller)
523 bytecodeOffset = 0;
544 bytecodeOffset = origin.bytecodeIndex;
549 bytecodeOffset = trueCallerFrame->bytecodeOffsetForNonDFGCode();
554 bytecodeOffset = icf->caller.bytecodeIndex;
559 ASSERT(newCodeBlock->instructionCount() > bytecodeOffset);
572 bytecodeOffset = origin.bytecodeIndex;
577 ASSERT(newCodeBlock->instructionCount() > bytecodeOffset);
584 bytecodeOffset = callerCodeBlock->bytecodeOffset(trueCallerFrame, callFrame->returnPC());
636 codeBlock->expressionRangeForBytecodeOffset(bytecodeOffset, divot, startOffset, endOffset, line, column);
669 unsigned bytecodeOffset = getBytecodeOffsetForCallFrame(callFrame);
688 bytecodeOffset,
697 callFrame = getCallerInfo(vm, callFrame, bytecodeOffset, callerCodeBlock);
732 NEVER_INLINE HandlerInfo* Interpreter::throwException(CallFrame*& callFrame, JSValue& exceptionValue, unsigned bytecodeOffset)
749 appendSourceToError(callFrame, static_cast<ErrorInstance*>(exception), bytecodeOffset);
754 addErrorInfo(callFrame, exception, codeBlock->lineNumberForBytecodeOffset(bytecodeOffset), codeBlock->ownerExecutable()->source());
773 unsigned currentOffset = bytecodeOffset;
782 debugger->exception(debuggerCallFrame, codeBlock->ownerExecutable()->sourceID(), codeBlock->lineNumberForBytecodeOffset(bytecodeOffset), 0, hasHandler);
787 while (isTermination || !(handler = codeBlock->handlerForBytecodeOffset(bytecodeOffset))) {
788 if (!unwindCallFrame(callFrame, exceptionValue, bytecodeOffset, codeBlock)) {
1410 unsigned bytecodeOffset;
1412 CallFrame* callerFrame = getCallerInfo(&callFrame->vm(), functionCallFrame, bytecodeOffset, unusedCallerCodeBlock);
1422 callerFrame = getCallerInfo(&callFrame->vm(), callerFrame, bytecodeOffset, unusedCallerCodeBlock);
1446 unsigned bytecodeOffset = 0;
1447 bytecodeOffset = callerCodeBlock->bytecodeOffset(callerFrame, callFrame->returnPC());
1448 lineNumber = callerCodeBlock->lineNumberForBytecodeOffset(bytecodeOffset - 1);