summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug632901.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/basic/bug632901.js')
-rw-r--r--js/src/jit-test/tests/basic/bug632901.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/basic/bug632901.js b/js/src/jit-test/tests/basic/bug632901.js
new file mode 100644
index 0000000000..3039318c2b
--- /dev/null
+++ b/js/src/jit-test/tests/basic/bug632901.js
@@ -0,0 +1,9 @@
+// don't crash when tracing
+function f(o) {
+ var prop = "arguments";
+ f[prop] = f[prop];
+}
+for(var i = 0; i < 50; i++) {
+ f();
+}
+