| Index: src/stub-cache.cc
|
| diff --git a/src/stub-cache.cc b/src/stub-cache.cc
|
| index c15038ee9ecc3f13c63ae159a2bea5af453c3262..f274d48696e1b972088af9ff6cc628af47438d07 100644
|
| --- a/src/stub-cache.cc
|
| +++ b/src/stub-cache.cc
|
| @@ -687,7 +687,10 @@ Handle<Code> StubCompiler::GetCodeWithFlags(Code::Flags flags,
|
| code->set_major_key(CodeStub::NoCache);
|
| }
|
| #ifdef ENABLE_DISASSEMBLER
|
| - if (FLAG_print_code_stubs) code->Disassemble(name);
|
| + if (FLAG_print_code_stubs) {
|
| + OFStream os(stdout);
|
| + code->Disassemble(name, os);
|
| + }
|
| #endif
|
| return code;
|
| }
|
|
|