test262/test/language
Mike Pennisi 4dc81d3788 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.
2016-02-01 13:20:17 -05:00
..
arguments-object Improve compatibility for engines without support for Annex B 2015-09-07 20:40:09 +02:00
asi Fix test regressions 2015-07-17 17:31:26 +02:00
block-scope
comments
computed-property-names
default-parameters Add tests for default parameters 2015-09-02 18:01:51 -04:00
destructuring/binding ObjectBindingPatterns can't end with multiple commas 2015-12-29 16:50:23 -05:00
directive-prologue Replace runTestCase with assert helpers [test/language/directive-prologue] 2015-08-13 17:35:04 +02:00
eval-code Add test cases for recent ES2016 fixes 2015-12-15 17:33:49 +01:00
expressions Add tests for tail-call optimization 2016-02-01 13:20:17 -05:00
function-code Add test cases for recent ES2016 fixes 2015-12-15 17:33:49 +01:00
future-reserved-words Replace runTestCase with assert.throws [test/language/] 2015-08-11 17:43:21 +02:00
global-code
identifier-resolution Add tests for well-known Symbol: @@unscopables 2015-10-05 11:57:31 -04:00
identifiers Remove extraneous indent in header, for consistency 2015-08-24 15:24:10 -07:00
import - Remove inline license 2015-07-17 19:55:00 +02:00
keywords
line-terminators Replace runTestCase with assert.throws [test/language/] 2015-08-11 17:43:21 +02:00
literals Convert binary integers to octal in octal integer tests 2015-09-30 08:54:45 -07:00
module-code - Remove inline license 2015-07-17 19:55:00 +02:00
object-literal - Remove inline license 2015-07-17 19:55:00 +02:00
punctuators
reserved-words Replace runTestCase with assert helpers [test/language/reserved-words] 2015-08-13 17:32:43 +02:00
rest-parameters Add test cases for recent ES2016 fixes 2015-12-15 17:33:49 +01:00
source-text Remove links to hg.ecmascript.org 2015-07-17 17:43:09 +02:00
statements Add tests for tail-call optimization 2016-02-01 13:20:17 -05:00
types Replace runTestCase with assert.throws [test/language/] 2015-08-11 17:43:21 +02:00
white-space Fix strict mode errors in language/{identifiers, line-terminators, white-space} 2015-05-08 17:33:33 +02:00