Ignore:
Timestamp:
Apr 2, 2014, 1:49:27 PM (11 years ago)
Author:
[email protected]
Message:

Added some more dataLog info for OSR exits.
<https://webkit.org/b/131120>

Reviewed by Michael Saboff.

Adding info about the OSR exit index, the bytecode index of the bytecode
that is OSR exiting, and the reason for the OSR exit. This change is
for debugging code which only comes into play when we use the
--printEachOSRExit option.

  • dfg/DFGOSRExit.h:
  • dfg/DFGOSRExitCompiler32_64.cpp:

(JSC::DFG::OSRExitCompiler::compileExit):

  • dfg/DFGOSRExitCompiler64.cpp:

(JSC::DFG::OSRExitCompiler::compileExit):

  • dfg/DFGOperations.cpp:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/dfg/DFGOperations.cpp

    r165005 r166662  
    10411041    CodeBlock* codeBlock = debugInfo->codeBlock;
    10421042    CodeBlock* alternative = codeBlock->alternative();
    1043     dataLog(
    1044         "Speculation failure in ", *codeBlock, " with ");
     1043    dataLog("Speculation failure in ", *codeBlock);
     1044    dataLog(" @ exit #", vm->osrExitIndex, " (bc#", debugInfo->bytecodeOffset, ", ", exitKindToString(debugInfo->kind), ") with ");
    10451045    if (alternative) {
    10461046        dataLog(
Note: See TracChangeset for help on using the changeset viewer.