Index: test/cctest/test-assembler-x87.cc |
diff --git a/test/cctest/test-assembler-x87.cc b/test/cctest/test-assembler-x87.cc |
index b0d7766ddced5f79ecad9504aa9a33040e8fe23a..40a079a30dd6a4414b5559a5c27f303708528640 100644 |
--- a/test/cctest/test-assembler-x87.cc |
+++ b/test/cctest/test-assembler-x87.cc |
@@ -63,7 +63,8 @@ TEST(AssemblerIa320) { |
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 |
F2 f = FUNCTION_CAST<F2>(code->entry()); |
int res = f(3, 4); |
@@ -99,7 +100,8 @@ TEST(AssemblerIa321) { |
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 |
F1 f = FUNCTION_CAST<F1>(code->entry()); |
int res = f(100); |
@@ -139,7 +141,8 @@ TEST(AssemblerIa322) { |
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 |
F1 f = FUNCTION_CAST<F1>(code->entry()); |
int res = f(10); |
@@ -217,7 +220,8 @@ TEST(AssemblerIa329) { |
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 |
F7 f = FUNCTION_CAST<F7>(code->entry()); |