Index: test/cctest/test-disasm-ia32.cc |
diff --git a/test/cctest/test-disasm-ia32.cc b/test/cctest/test-disasm-ia32.cc |
index aa81b4f3028ab70ae88ce885d1eed3567033b9a0..794a6310e55881e5e7163291f81b502bdefed89a 100644 |
--- a/test/cctest/test-disasm-ia32.cc |
+++ b/test/cctest/test-disasm-ia32.cc |
@@ -454,7 +454,8 @@ TEST(DisasmIa320) { |
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); |