Index: test/cctest/test-assembler-x64.cc |
diff --git a/test/cctest/test-assembler-x64.cc b/test/cctest/test-assembler-x64.cc |
index f5e696819ada73099d1b43bc7bcd58b76935cd49..2fcb6fbc6d1d7f4e750ecfca6b29e6c9f1edb4f8 100644 |
--- a/test/cctest/test-assembler-x64.cc |
+++ b/test/cctest/test-assembler-x64.cc |
@@ -689,7 +689,8 @@ TEST(AssemblerX64Extractps) { |
Handle<Code> code = isolate->factory()->NewCode( |
desc, Code::ComputeFlags(Code::STUB), Handle<Code>()); |
#ifdef OBJECT_PRINT |
- code->Print(); |
+ OFStream os(stdout); |
+ code->Print(os); |
#endif |
F3 f = FUNCTION_CAST<F3>(code->entry()); |
@@ -727,7 +728,8 @@ TEST(AssemblerX64SSE) { |
Code::ComputeFlags(Code::STUB), |
Handle<Code>()); |
#ifdef OBJECT_PRINT |
- code->Print(); |
+ OFStream os(stdout); |
+ code->Print(os); |
#endif |
F6 f = FUNCTION_CAST<F6>(code->entry()); |