Fix timout of packed-elements.js on ARM

R=mstarzinger@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10703093

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11993 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
danno@chromium.org 2012-07-05 13:40:51 +00:00
parent f0e042e5e5
commit f97df41fcf

View File

@ -96,9 +96,9 @@ function test6() {
function test_with_optimization(f) {
// Run tests in a loop to make sure that inlined Array() constructor runs out
// of new space memory and must fall back on runtime impl.
for (i = 0; i < 250000; ++i) f();
for (i = 0; i < 25000; ++i) f();
%OptimizeFunctionOnNextCall(f);
for (i = 0; i < 250000; ++i) f(); // Make sure GC happens
for (i = 0; i < 25000; ++i) f(); // Make sure GC happens
}
if (has_packed_elements) {