Commit 6c4133a3 authored by yangguo@chromium.org's avatar yangguo@chromium.org

Fix test-heap/OptimizedPretenuringAllocationFolding wrt concurrent recompilation delay.

R=hpayer@chromium.org

Review URL: https://codereview.chromium.org/148063008

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19338 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 887bd285
......@@ -2210,10 +2210,10 @@ TEST(OptimizedPretenuringAllocationFolding) {
"var number_elements = 20000;"
"var elements = new Array();"
"function f() {"
" for (var i = 0; i < 20000-1; i++) {"
" for (var i = 0; i < number_elements; i++) {"
" elements[i] = new DataObject();"
" }"
" return new DataObject()"
" return elements[number_elements-1]"
"};"
"f(); f(); f();"
"%OptimizeFunctionOnNextCall(f);"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment