summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/statements/switch/shell.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/language/statements/switch/shell.js')
-rw-r--r--js/src/tests/test262/language/statements/switch/shell.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/js/src/tests/test262/language/statements/switch/shell.js b/js/src/tests/test262/language/statements/switch/shell.js
new file mode 100644
index 0000000000..43295587f4
--- /dev/null
+++ b/js/src/tests/test262/language/statements/switch/shell.js
@@ -0,0 +1,16 @@
+// GENERATED, DO NOT EDIT
+// file: tcoHelper.js
+// Copyright (C) 2016 the V8 project authors. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+/*---
+description: |
+ This defines the number of consecutive recursive function calls that must be
+ made in order to prove that stack frames are properly destroyed according to
+ ES2015 tail call optimization semantics.
+defines: [$MAX_ITERATIONS]
+---*/
+
+
+
+
+var $MAX_ITERATIONS = 100000;