summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug830269.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--js/src/jit-test/tests/ion/bug830269.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/ion/bug830269.js b/js/src/jit-test/tests/ion/bug830269.js
new file mode 100644
index 0000000000..df4fbde99c
--- /dev/null
+++ b/js/src/jit-test/tests/ion/bug830269.js
@@ -0,0 +1,12 @@
+function f(g,y,z,w) {
+ return g.apply(undefined, arguments);
+}
+
+function outer() {
+ var g = function() {};
+ for (var i = 0; i < 20000; i++)
+ f(g,2,3,4,5);
+ f(g,2,3,4,5);
+}
+
+outer();