[compiler] Move generator optimization heuristics.
This moves the decision whether to optimize generator or async functions into the AstNumberingVisitor. Optimization heuristics that are based on the function source should be encapsulated in this class. R=neis@chromium.org Review-Url: https://codereview.chromium.org/2065543002 Cr-Commit-Position: refs/heads/master@{#36924}
Showing
Please
register
or
sign in
to comment