summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/recover-object-bug1174322.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/ion/recover-object-bug1174322.js')
-rw-r--r--js/src/jit-test/tests/ion/recover-object-bug1174322.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/ion/recover-object-bug1174322.js b/js/src/jit-test/tests/ion/recover-object-bug1174322.js
new file mode 100644
index 000000000..d5e1066b8
--- /dev/null
+++ b/js/src/jit-test/tests/ion/recover-object-bug1174322.js
@@ -0,0 +1,13 @@
+function f(y) {
+ Math.min(NaN) ? a : y
+}
+function g(y) {
+ f({
+ e: false
+ })
+}
+x = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
+for (var j = 0; j < 23; ++j) {
+ g(x[j])
+}