Index: test/cctest/test-disasm-x64.cc |
diff --git a/test/cctest/test-disasm-x64.cc b/test/cctest/test-disasm-x64.cc |
index b53736758cea8e6fb1631acad51a47cda3872d2c..5f6312bd147519c87a26efc0b7647d67007022fd 100644 |
--- a/test/cctest/test-disasm-x64.cc |
+++ b/test/cctest/test-disasm-x64.cc |
@@ -433,7 +433,8 @@ TEST(DisasmX64) { |
desc, Code::ComputeFlags(Code::STUB), Handle<Code>()); |
USE(code); |
#ifdef OBJECT_PRINT |
- code->Print(); |
+ OFStream os(stdout); |
+ code->Print(os); |
byte* begin = code->instruction_start(); |
byte* end = begin + code->instruction_size(); |
disasm::Disassembler::Disassemble(stdout, begin, end); |