| Index: src/compiler/graph-visualizer.cc
|
| diff --git a/src/compiler/graph-visualizer.cc b/src/compiler/graph-visualizer.cc
|
| index bf3d8edea418d654344baf9c85d479eb78badb37..013c265f49c0cd158be44955b6323dd0fb436532 100644
|
| --- a/src/compiler/graph-visualizer.cc
|
| +++ b/src/compiler/graph-visualizer.cc
|
| @@ -18,6 +18,7 @@
|
| #include "src/compiler/register-allocator.h"
|
| #include "src/compiler/schedule.h"
|
| #include "src/compiler/scheduler.h"
|
| +#include "src/interpreter/bytecodes.h"
|
| #include "src/ostreams.h"
|
|
|
| namespace v8 {
|
| @@ -36,6 +37,9 @@ FILE* OpenVisualizerLogFile(CompilationInfo* info, const char* phase,
|
| } else {
|
| SNPrintF(filename, "turbo-%p", static_cast<void*>(info));
|
| }
|
| + } else if (info->IsBytecodeHandler()) {
|
| + SNPrintF(filename, "turbo-bytecode-%s",
|
| + interpreter::Bytecodes::ToString(info->bytecode()));
|
| } else {
|
| SNPrintF(filename, "turbo-none-%s", phase);
|
| }
|
|
|