Index: test/cctest/test-log.cc |
diff --git a/test/cctest/test-log.cc b/test/cctest/test-log.cc |
index 288fc49b84e68d08fef14ca63f266aa9951f0057..d7cd876dd5305c5bd7e4722c481e90852fe1aae3 100644 |
--- a/test/cctest/test-log.cc |
+++ b/test/cctest/test-log.cc |
@@ -439,7 +439,7 @@ TEST(EquivalenceOfLoggingAndTraversal) { |
" (function a(j) { return function b() { return j; } })(100);\n" |
"})(this);"); |
logger->StopProfiler(); |
- HEAP->CollectAllGarbage(i::Heap::kMakeHeapIterableMask); |
+ CcTest::heap()->CollectAllGarbage(i::Heap::kMakeHeapIterableMask); |
logger->StringEvent("test-logging-done", ""); |
// Iterate heap to find compiled functions, will write to log. |