Index: test/cctest/test-heap.cc |
diff --git a/test/cctest/test-heap.cc b/test/cctest/test-heap.cc |
index d5fae581deb8fb96b8fda9270cfd5341ef76de80..dbdb0ccfa250555823381a38350d27f4be5b8a4a 100644 |
--- a/test/cctest/test-heap.cc |
+++ b/test/cctest/test-heap.cc |
@@ -2240,7 +2240,7 @@ TEST(OptimizedPretenuringAllocationFoldingBlocks) { |
CcTest::heap()->SetNewSpaceHighPromotionModeActive(true); |
v8::Local<v8::Value> res = CompileRun( |
- "var number_elements = 3000;" |
+ "var number_elements = 10000;" |
"var elements = new Array(number_elements);" |
"function DataObject() {" |
" this.a = [{}];" |
@@ -2349,7 +2349,7 @@ TEST(OptimizedPretenuringDoubleArrayProperties) { |
"var elements = new Array(number_elements);" |
"function f() {" |
" for (var i = 0; i < number_elements; i++) {" |
- " elements[i] = {a: 1.1, b: 2.2};" |
+ " elements[i] = {a: 1.1, b: 2.2, c: 3.3};" |
" }" |
" return elements[i - 1];" |
"};" |