Index: test/cctest/heap/test-page-promotion.cc |
diff --git a/test/cctest/heap/test-page-promotion.cc b/test/cctest/heap/test-page-promotion.cc |
index 4673f2edcf25422ec04282821e45a59b5609a333..3207c262503c1dc031defd8938008486c53501ef 100644 |
--- a/test/cctest/heap/test-page-promotion.cc |
+++ b/test/cctest/heap/test-page-promotion.cc |
@@ -42,6 +42,7 @@ namespace v8 { |
namespace internal { |
UNINITIALIZED_TEST(PagePromotion_NewToOld) { |
+ if (!i::FLAG_incremental_marking) return; |
v8::Isolate* isolate = NewIsolateForPagePromotion(); |
i::Isolate* i_isolate = reinterpret_cast<i::Isolate*>(isolate); |
{ |