Index: test/cctest/test-deoptimization.cc |
diff --git a/test/cctest/test-deoptimization.cc b/test/cctest/test-deoptimization.cc |
index ee57d65b2425857a43b47ec5b6c095fd694c0233..c52c5788dbce107e3db13e444bac44af56cd9c1e 100644 |
--- a/test/cctest/test-deoptimization.cc |
+++ b/test/cctest/test-deoptimization.cc |
@@ -100,8 +100,7 @@ class AllowNativesSyntaxNoInlining { |
// Abort any ongoing incremental marking to make sure that all weak global |
// handle callbacks are processed. |
static void NonIncrementalGC() { |
- // TODO(1608): This should use kAbortIncrementalMarking. |
- HEAP->CollectAllGarbage(i::Heap::kMakeHeapIterableMask); |
+ HEAP->CollectAllGarbage(i::Heap::kAbortIncrementalMarkingMask); |
} |