summaryrefslogtreecommitdiffstats
path: root/PerformanceTests/SunSpider/tests/ubench/function-excess-args.js
diff options
context:
space:
mode:
Diffstat (limited to 'PerformanceTests/SunSpider/tests/ubench/function-excess-args.js')
-rw-r--r--PerformanceTests/SunSpider/tests/ubench/function-excess-args.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/PerformanceTests/SunSpider/tests/ubench/function-excess-args.js b/PerformanceTests/SunSpider/tests/ubench/function-excess-args.js
new file mode 100644
index 0000000..15ac585
--- /dev/null
+++ b/PerformanceTests/SunSpider/tests/ubench/function-excess-args.js
@@ -0,0 +1,6 @@
+function f(x0, x1, x2, x3, x4)
+{
+}
+
+for (var i = 0; i < 3000000; ++i)
+ f(0, 1, 2, 3, 4, 5, 6, 7, 8, 9);