Skip to content
Snippets Groups Projects
  1. Jun 28, 2017
  2. Feb 22, 2016
  3. Feb 01, 2016
    • Mike Pennisi's avatar
      Add tests for tail-call optimization · 4dc81d37
      Mike Pennisi authored
      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.
      4dc81d37
Loading