Index: test/cctest/test-disasm-x87.cc |
diff --git a/test/cctest/test-disasm-x87.cc b/test/cctest/test-disasm-x87.cc |
index 444090aa4e75af693cea33227ff478cddf6fe218..f7395bce0193a5344cfa227f34bf8b9574615108 100644 |
--- a/test/cctest/test-disasm-x87.cc |
+++ b/test/cctest/test-disasm-x87.cc |
@@ -375,7 +375,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); |