| Index: test/cctest/test-heap.cc
|
| diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc
|
| index 13010b91f195950741394e191ab14966b8a76c23..df7f9fdaf645ceac22b1b2779b2f399e07ac81fb 100644
|
| --- a/test/cctest/test-heap.cc
|
| +++ b/test/cctest/test-heap.cc
|
| @@ -3054,8 +3054,9 @@ TEST(PrintSharedFunctionInfo) {
|
| *v8::Handle<v8::Function>::Cast(
|
| CcTest::global()->Get(v8_str("g"))));
|
|
|
| - DisallowHeapAllocation no_allocation;
|
| - g->shared()->PrintLn();
|
| + OFStream os(stdout);
|
| + g->shared()->Print(os);
|
| + os << endl;
|
| }
|
| #endif // OBJECT_PRINT
|
|
|
|
|