dart-sdk/pkg/js_ast
Stephen Adams 72736aff0d Avoid introducing js.Parameters in constructor body
Use the Parameter name in the template so that it is converted into a
VariableUse.

This change fixes some double-counting in the function parameter /
local variable minifier which made the --fast-startup constructors
'miss' using some minified names.

I believe the 'missed' names is a regression.

Saves 50k (0.4%) on one large app.

Change-Id: Ib7597f5c474ef285b082697e368667dbac23931b
Reviewed-on: https://dart-review.googlesource.com/30720
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Stephen Adams <sra@google.com>
2017-12-20 06:09:25 +00:00
..
lib Avoid introducing js.Parameters in constructor body 2017-12-20 06:09:25 +00:00
test Run dartfmt on js_ast 2017-03-15 21:22:40 -07:00
LICENSE Move js_ast library to its own package under pkg 2015-02-25 01:27:01 +00:00
pubspec.yaml Remove version from unpublished packages 2017-12-19 18:26:05 +00:00
README.md Move js_ast library to its own package under pkg 2015-02-25 01:27:01 +00:00

js_ast

A library for creating JavaScript ASTs from templates.