Index: test/mjsunit/regress/regress-492.js |
diff --git a/test/mjsunit/regress/regress-492.js b/test/mjsunit/regress/regress-492.js |
index a8b783b301d88e8ae1929a9b5caa24ea2d357b09..53b3195cfea4fc2f50fd926ee6c28ab26a0c2b63 100644 |
--- a/test/mjsunit/regress/regress-492.js |
+++ b/test/mjsunit/regress/regress-492.js |
@@ -29,7 +29,7 @@ |
// This should not hit any asserts in debug mode on ARM. |
function function_with_n_args(n) { |
- var source = '(function f('; |
+ var source = '(function f' + n + '('; |
for (var arg = 0; arg < n; arg++) { |
if (arg != 0) source += ','; |
source += 'arg' + arg; |
@@ -50,3 +50,41 @@ for (args = 500; args < 520; args++) { |
for (args = 1019; args < 1041; args++) { |
function_with_n_args(args); |
} |
+ |
+ |
+function foo( |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, |
+ x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x |
+) {} |
+ |
+for (var i = 0; i < 10000; ++i) foo(); |