summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug779818.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/auto-regress/bug779818.js')
-rw-r--r--js/src/jit-test/tests/auto-regress/bug779818.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/auto-regress/bug779818.js b/js/src/jit-test/tests/auto-regress/bug779818.js
new file mode 100644
index 000000000..717f91af3
--- /dev/null
+++ b/js/src/jit-test/tests/auto-regress/bug779818.js
@@ -0,0 +1,12 @@
+// Binary: cache/js-dbg-64-2169bca0c9a5-linux
+// Flags: --ion-eager
+//
+
+var SECTION = "lexical-015";
+(function() {
+ for (var a = 0; a < 9; a++) {
+ if (SECTION[a]) {
+ while (arguments[a]) break;
+ }
+ }
+})()