Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index f1ada2b3cabcacb20d5a05f5bb5a3ece87fde3d4..2c97f1d362d0336ff73659183357641ae2239475 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -1580,7 +1580,7 @@ TEST(TestInternalWeakLists) { |
} |
// Force compilation cache cleanup. |
- CcTest::heap()->NotifyContextDisposed(); |
+ CcTest::heap()->NotifyContextDisposed(true); |
CcTest::heap()->CollectAllGarbage(Heap::kNoGCFlags); |
// Dispose the native contexts one by one. |