Index: test/cctest/test-deoptimization.cc |
diff --git a/test/cctest/test-deoptimization.cc b/test/cctest/test-deoptimization.cc |
index b866048eb015be5482cc4d2f48cc25c8bdec4168..765b1ce55f62de8048a37aabb8d0dee1b21f8e49 100644 |
--- a/test/cctest/test-deoptimization.cc |
+++ b/test/cctest/test-deoptimization.cc |
@@ -104,7 +104,7 @@ class AllowNativesSyntaxNoInliningNoConcurrent { |
// Abort any ongoing incremental marking to make sure that all weak global |
// handle callbacks are processed. |
static void NonIncrementalGC() { |
- HEAP->CollectAllGarbage(i::Heap::kAbortIncrementalMarkingMask); |
+ CcTest::heap()->CollectAllGarbage(i::Heap::kAbortIncrementalMarkingMask); |
} |