X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/2d39b0e377c0896910ee49ae70082ba665faf986..refs/heads/master:/ftl/FTLOSREntry.cpp diff --git a/ftl/FTLOSREntry.cpp b/ftl/FTLOSREntry.cpp index c31d77c..8e9d4f4 100644 --- a/ftl/FTLOSREntry.cpp +++ b/ftl/FTLOSREntry.cpp @@ -54,9 +54,12 @@ void* prepareOSREntry( bytecodeIndex, ".\n"); } + if (bytecodeIndex) + jsCast(executable)->setDidTryToEnterInLoop(true); + if (bytecodeIndex != entryCode->bytecodeIndex()) { if (Options::verboseOSR()) - dataLog(" OSR failed because we don't have an entrypoint for bc#", bytecodeIndex, "; ours is for bc#", entryCode->bytecodeIndex()); + dataLog(" OSR failed because we don't have an entrypoint for bc#", bytecodeIndex, "; ours is for bc#", entryCode->bytecodeIndex(), "\n"); return 0; }