Skip to content
Snippets Groups Projects
Commit 4dc81d37 authored by Mike Pennisi's avatar Mike Pennisi
Browse files

Add tests for tail-call optimization

ECMAScript 2015 introduced tail call optimization for function calls
occuring in a number of positions in the grammar. Assert expected
behavior by triggering a large (but configurable) number of recursive
function calls in these positions. Compliant runtimes will execute such
programs without error; non-compliant runtimes are expected to fail
these tests by throwing an error or crashing when system resources are
exhausted.
parent fbad3495
No related branches found
No related tags found
No related merge requests found
Showing
with 386 additions and 0 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment