[interpreter] Make --trace-codegen also trace bytecode.
This ensures that both --trace-codegen as well as --print-ast work for Ignition and print traces for generated bytecode as well. Here we do consider "bytecode" to be "code" as well for tracing purposes. R=rmcilroy@chromium.org Review-Url: https://codereview.chromium.org/2443003003 Cr-Commit-Position: refs/heads/master@{#40531}
This commit is contained in:
parent
f8414ead48
commit
65e68c66af
@ -197,6 +197,8 @@ InterpreterCompilationJob::Status InterpreterCompilationJob::FinalizeJobImpl() {
|
||||
return FAILED;
|
||||
}
|
||||
|
||||
CodeGenerator::MakeCodePrologue(info(), "interpreter");
|
||||
|
||||
if (FLAG_print_bytecode) {
|
||||
OFStream os(stdout);
|
||||
bytecodes->Print(os);
|
||||
|
Loading…
Reference in New Issue
Block a user