Index: test/cctest/test-assembler-ia32.cc |
diff --git a/test/cctest/test-assembler-ia32.cc b/test/cctest/test-assembler-ia32.cc |
index 8a09a8aff10810152bbfd57315cd30a8bd2feadc..4846efedcd81de4ab9a97ab55bf673037d5692e8 100644 |
--- a/test/cctest/test-assembler-ia32.cc |
+++ b/test/cctest/test-assembler-ia32.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); |
@@ -294,7 +297,8 @@ TEST(AssemblerIa328) { |
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 |
F6 f = FUNCTION_CAST<F6>(code->entry()); |
double res = f(12); |
@@ -347,7 +351,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()); |
@@ -541,7 +546,8 @@ TEST(AssemblerIa32Extractps) { |
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 |
F4 f = FUNCTION_CAST<F4>(code->entry()); |
@@ -579,7 +585,8 @@ TEST(AssemblerIa32SSE) { |
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 |
F8 f = FUNCTION_CAST<F8>(code->entry()); |