v8/test/mjsunit/es8
littledan 5af4cd9840 Disallow tail calls from async functions and generators
Tail calls don't make sense from async functions and generators, as
each activation of these functions needs to make a new, distnict,
non-reused generator object. These tail calls are not required per
spec. This patch disables both syntactic and implicit tail calls
in async functions and generators.

R=neis
BUG=v8:5301,chromium:639270

Review-Url: https://codereview.chromium.org/2278413003
Cr-Commit-Position: refs/heads/master@{#38986}
2016-08-29 18:31:35 +00:00
..
syntactic-tail-call-parsing-sloppy.js [es8] Throw SyntaxError when tail call expressions occur in non-strict mode. 2016-05-09 11:42:31 +00:00
syntactic-tail-call-parsing.js Disallow tail calls from async functions and generators 2016-08-29 18:31:35 +00:00
syntactic-tail-call-simple.js [es8] Throw SyntaxError when tail call expressions occur in non-strict mode. 2016-05-09 11:42:31 +00:00
syntactic-tail-call.js [es8] Throw SyntaxError when tail call expressions occur in non-strict mode. 2016-05-09 11:42:31 +00:00