Description[es6] More efficient way of marking AST call expressions in tail positions.
Instead of doing a full function body traversal we collect return expressions and mark them after function parsing.
And since we rewrite do-expressions so that the result is explicitly assigned to a result variable the statements marking will never hit so I removed it from the AST.
BUG=v8:4698
LOG=N
Committed: https://crrev.com/d12dbab46618801b38430b614276002c178abf72
Cr-Commit-Position: refs/heads/master@{#33911}
Patch Set 1 : #Patch Set 2 : Removed MarkTail() from Statement #
Messages
Total messages: 25 (16 generated)
|