Commit a9303622 authored by Georg Neis's avatar Georg Neis Committed by Commit Bot

[interpreter] Include SFI in --print-bytecode

Now it's easy to find the bytecode corresponding to a given
SFI in logging output.

Change-Id: I32100d54830c2dae3cef838f09582e8d023b5ecb
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1781044
Commit-Queue: Georg Neis <neis@chromium.org>
Commit-Queue: Ross McIlroy <rmcilroy@chromium.org>
Auto-Submit: Georg Neis <neis@chromium.org>
Reviewed-by: 's avatarRoss McIlroy <rmcilroy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#63493}
parent a4c9e9ee
......@@ -230,8 +230,8 @@ InterpreterCompilationJob::Status InterpreterCompilationJob::FinalizeJobImpl(
StdoutStream os;
std::unique_ptr<char[]> name =
compilation_info()->literal()->GetDebugName();
os << "[generated bytecode for function: " << name.get() << "]"
<< std::endl;
os << "[generated bytecode for function: " << name.get() << " ("
<< shared_info << ")]" << std::endl;
bytecodes->Disassemble(os);
os << std::flush;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment