Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index 10bacf50432c94124247cfd84ff4dc1d358806e7..999e2c66518b010561440292419606b8816b08d6 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -959,17 +959,17 @@ TEST(TestCodeFlushing) { |
CHECK(function->shared()->is_compiled()); |
// TODO(1609) Currently incremental marker does not support code flushing. |
- HEAP->CollectAllGarbage(Heap::kMakeHeapIterableMask); |
- HEAP->CollectAllGarbage(Heap::kMakeHeapIterableMask); |
+ HEAP->CollectAllGarbage(Heap::kAbortIncrementalMarkingMask); |
+ HEAP->CollectAllGarbage(Heap::kAbortIncrementalMarkingMask); |
CHECK(function->shared()->is_compiled()); |
- HEAP->CollectAllGarbage(Heap::kMakeHeapIterableMask); |
- HEAP->CollectAllGarbage(Heap::kMakeHeapIterableMask); |
- HEAP->CollectAllGarbage(Heap::kMakeHeapIterableMask); |
- HEAP->CollectAllGarbage(Heap::kMakeHeapIterableMask); |
- HEAP->CollectAllGarbage(Heap::kMakeHeapIterableMask); |
- HEAP->CollectAllGarbage(Heap::kMakeHeapIterableMask); |
+ HEAP->CollectAllGarbage(Heap::kAbortIncrementalMarkingMask); |
+ HEAP->CollectAllGarbage(Heap::kAbortIncrementalMarkingMask); |
+ HEAP->CollectAllGarbage(Heap::kAbortIncrementalMarkingMask); |
+ HEAP->CollectAllGarbage(Heap::kAbortIncrementalMarkingMask); |
+ HEAP->CollectAllGarbage(Heap::kAbortIncrementalMarkingMask); |
+ HEAP->CollectAllGarbage(Heap::kAbortIncrementalMarkingMask); |
// foo should no longer be in the compilation cache |
CHECK(!function->shared()->is_compiled() || function->IsOptimized()); |