diff options
Diffstat (limited to 'harness/tcoHelper.js')
-rw-r--r-- | harness/tcoHelper.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/harness/tcoHelper.js b/harness/tcoHelper.js new file mode 100644 index 000000000..5e9bee225 --- /dev/null +++ b/harness/tcoHelper.js @@ -0,0 +1,4 @@ +// 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. +var $MAX_ITERATIONS = 100000; |