Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index ea459a2c5c4a0d083ac6544c2790cd7164fe5b5b..cb4f269dd530d71fcd6fa7a5543dd6c3fa5593a6 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -2191,6 +2191,7 @@ TEST(OptimizedAllocationAlwaysInNewSpace) { |
TEST(OptimizedPretenuringAllocationFolding) { |
i::FLAG_allow_natives_syntax = true; |
i::FLAG_max_new_space_size = 2048; |
+ i::FLAG_allocation_site_pretenuring = false; |
CcTest::InitializeVM(); |
if (!CcTest::i_isolate()->use_crankshaft() || i::FLAG_always_opt) return; |
if (i::FLAG_gc_global || i::FLAG_stress_compaction) return; |
@@ -2233,6 +2234,7 @@ TEST(OptimizedPretenuringAllocationFolding) { |
TEST(OptimizedPretenuringAllocationFoldingBlocks) { |
i::FLAG_allow_natives_syntax = true; |
i::FLAG_max_new_space_size = 2048; |
+ i::FLAG_allocation_site_pretenuring = false; |
CcTest::InitializeVM(); |
if (!CcTest::i_isolate()->use_crankshaft() || i::FLAG_always_opt) return; |
if (i::FLAG_gc_global || i::FLAG_stress_compaction) return; |