Index: src/ic/access-compiler.cc |
diff --git a/src/ic/access-compiler.cc b/src/ic/access-compiler.cc |
index 0f1b7b9bf1a38839d268b981e677456c6cc57cf7..c99219201a00f14ae1401de37ab5b21d1153709b 100644 |
--- a/src/ic/access-compiler.cc |
+++ b/src/ic/access-compiler.cc |
@@ -18,7 +18,8 @@ Handle<Code> PropertyAccessCompiler::GetCodeWithFlags(Code::Flags flags, |
if (code->IsCodeStubOrIC()) code->set_stub_key(CodeStub::NoCacheKey()); |
#ifdef ENABLE_DISASSEMBLER |
if (FLAG_print_code_stubs) { |
- OFStream os(stdout); |
+ CodeTracer::Scope trace_scope(isolate()->GetCodeTracer()); |
+ OFStream os(trace_scope.file()); |
code->Disassemble(name, os); |
} |
#endif |