Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index 6d4da76240052db2fadc1097e19a3513a19a3378..4fce6dcbbad2b43fbcff1b5149162d42f96a80ac 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -2195,6 +2195,7 @@ TEST(OptimizedAllocationAlwaysInNewSpace) { |
TEST(OptimizedPretenuringAllocationFolding) { |
i::FLAG_allow_natives_syntax = true; |
i::FLAG_expose_gc = true; |
+ i::FLAG_min_semi_space_size = 8; |
mvstanton
2014/06/02 13:31:25
Why is this being done? Probably worth a comment.
Hannes Payer (out of office)
2014/06/02 14:56:52
Done.
|
CcTest::InitializeVM(); |
if (!CcTest::i_isolate()->use_crankshaft() || i::FLAG_always_opt) return; |
if (i::FLAG_gc_global || i::FLAG_stress_compaction) return; |
@@ -2239,6 +2240,7 @@ TEST(OptimizedPretenuringAllocationFolding) { |
TEST(OptimizedPretenuringObjectArrayLiterals) { |
i::FLAG_allow_natives_syntax = true; |
i::FLAG_expose_gc = true; |
+ i::FLAG_min_semi_space_size = 8; |
CcTest::InitializeVM(); |
if (!CcTest::i_isolate()->use_crankshaft() || i::FLAG_always_opt) return; |
if (i::FLAG_gc_global || i::FLAG_stress_compaction) return; |
@@ -2274,6 +2276,7 @@ TEST(OptimizedPretenuringObjectArrayLiterals) { |
TEST(OptimizedPretenuringMixedInObjectProperties) { |
i::FLAG_allow_natives_syntax = true; |
i::FLAG_expose_gc = true; |
+ i::FLAG_min_semi_space_size = 8; |
CcTest::InitializeVM(); |
if (!CcTest::i_isolate()->use_crankshaft() || i::FLAG_always_opt) return; |
if (i::FLAG_gc_global || i::FLAG_stress_compaction) return; |
@@ -2315,6 +2318,7 @@ TEST(OptimizedPretenuringMixedInObjectProperties) { |
TEST(OptimizedPretenuringDoubleArrayProperties) { |
i::FLAG_allow_natives_syntax = true; |
i::FLAG_expose_gc = true; |
+ i::FLAG_min_semi_space_size = 8; |
CcTest::InitializeVM(); |
if (!CcTest::i_isolate()->use_crankshaft() || i::FLAG_always_opt) return; |
if (i::FLAG_gc_global || i::FLAG_stress_compaction) return; |
@@ -2350,6 +2354,7 @@ TEST(OptimizedPretenuringDoubleArrayProperties) { |
TEST(OptimizedPretenuringdoubleArrayLiterals) { |
i::FLAG_allow_natives_syntax = true; |
i::FLAG_expose_gc = true; |
+ i::FLAG_min_semi_space_size = 8; |
CcTest::InitializeVM(); |
if (!CcTest::i_isolate()->use_crankshaft() || i::FLAG_always_opt) return; |
if (i::FLAG_gc_global || i::FLAG_stress_compaction) return; |
@@ -2385,6 +2390,7 @@ TEST(OptimizedPretenuringdoubleArrayLiterals) { |
TEST(OptimizedPretenuringNestedMixedArrayLiterals) { |
i::FLAG_allow_natives_syntax = true; |
i::FLAG_expose_gc = true; |
+ i::FLAG_min_semi_space_size = 8; |
CcTest::InitializeVM(); |
if (!CcTest::i_isolate()->use_crankshaft() || i::FLAG_always_opt) return; |
if (i::FLAG_gc_global || i::FLAG_stress_compaction) return; |
@@ -2429,6 +2435,7 @@ TEST(OptimizedPretenuringNestedMixedArrayLiterals) { |
TEST(OptimizedPretenuringNestedObjectLiterals) { |
i::FLAG_allow_natives_syntax = true; |
i::FLAG_expose_gc = true; |
+ i::FLAG_min_semi_space_size = 8; |
CcTest::InitializeVM(); |
if (!CcTest::i_isolate()->use_crankshaft() || i::FLAG_always_opt) return; |
if (i::FLAG_gc_global || i::FLAG_stress_compaction) return; |
@@ -2473,6 +2480,7 @@ TEST(OptimizedPretenuringNestedObjectLiterals) { |
TEST(OptimizedPretenuringNestedDoubleLiterals) { |
i::FLAG_allow_natives_syntax = true; |
i::FLAG_expose_gc = true; |
+ i::FLAG_min_semi_space_size = 8; |
CcTest::InitializeVM(); |
if (!CcTest::i_isolate()->use_crankshaft() || i::FLAG_always_opt) return; |
if (i::FLAG_gc_global || i::FLAG_stress_compaction) return; |
@@ -2525,6 +2533,7 @@ TEST(OptimizedPretenuringConstructorCalls) { |
} |
i::FLAG_allow_natives_syntax = true; |
i::FLAG_expose_gc = true; |
+ i::FLAG_min_semi_space_size = 8; |
CcTest::InitializeVM(); |
if (!CcTest::i_isolate()->use_crankshaft() || i::FLAG_always_opt) return; |
if (i::FLAG_gc_global || i::FLAG_stress_compaction) return; |
@@ -2571,6 +2580,7 @@ TEST(OptimizedPretenuringCallNew) { |
} |
i::FLAG_allow_natives_syntax = true; |
i::FLAG_expose_gc = true; |
+ i::FLAG_min_semi_space_size = 8; |
CcTest::InitializeVM(); |
if (!CcTest::i_isolate()->use_crankshaft() || i::FLAG_always_opt) return; |
if (i::FLAG_gc_global || i::FLAG_stress_compaction) return; |