diff options
Diffstat (limited to 'js/src/jit-test/tests/ion/bug716624-2.js')
-rw-r--r-- | js/src/jit-test/tests/ion/bug716624-2.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/ion/bug716624-2.js b/js/src/jit-test/tests/ion/bug716624-2.js new file mode 100644 index 0000000000..9f6531e6b9 --- /dev/null +++ b/js/src/jit-test/tests/ion/bug716624-2.js @@ -0,0 +1,8 @@ +function getprop (obj) { + return obj.nonexist; +} + +for (var n = 0; n < 100; n++) { + var a = (n % 2) ? ((n % 3) ? new Object() : new Object()) : new Object(); + getprop(a); +} |