Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index 1f1b357854782efd400ed0025221c536bcb0c326..b3db0cfc1c21ba21ed6abb7d5cae252f0e9091f4 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -2371,7 +2371,7 @@ TEST(PrintSharedFunctionInfo) { |
*v8::Handle<v8::Function>::Cast( |
v8::Context::GetCurrent()->Global()->Get(v8_str("g")))); |
- AssertNoAllocation no_alloc; |
+ DisallowHeapAllocation no_allocation; |
g->shared()->PrintLn(); |
} |
#endif // OBJECT_PRINT |