| Index: src/interpreter/interpreter.cc
|
| diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc
|
| index f3f6be8a49a78b68b3547de3aa82cd8278d2c9c9..b139ab46b338f5ff7c44407c8739cf460ac32273 100644
|
| --- a/src/interpreter/interpreter.cc
|
| +++ b/src/interpreter/interpreter.cc
|
| @@ -63,7 +63,10 @@ bool Interpreter::MakeBytecode(CompilationInfo* info) {
|
| info->EnsureFeedbackVector();
|
| Handle<BytecodeArray> bytecodes = generator.MakeBytecode(info);
|
| if (FLAG_print_bytecode) {
|
| - bytecodes->Print();
|
| + OFStream os(stdout);
|
| + os << "Function: " << info->GetDebugName().get() << std::endl;
|
| + bytecodes->Print(os);
|
| + os << std::flush;
|
| }
|
|
|
| info->SetBytecodeArray(bytecodes);
|
|
|