Commit Graph

9 Commits

Author SHA1 Message Date
Jenny Messerly dab7da78cd fix implicit casts in DDC
There are a few bug fixes here as well. Most notably, `.name.name`
instead of `.name` in DDK's analysis of virtual accessors. DDC/K's
handling of spread arguments in JS interop was also fairly broken
(it was generating a RestParameter instead of Spread). There's
also a lot of cleanup in js_ast as well, to make it a bit more
type safe.

Change-Id: Ia5333179e6dd0a62f20ce64a2b2b8bedf2ed7c49
Reviewed-on: https://dart-review.googlesource.com/44700
Commit-Queue: Jenny Messerly <jmesserly@google.com>
Reviewed-by: Vijay Menon <vsm@google.com>
2018-03-07 01:26:21 +00:00
Jacob Richman 0dbb32f406 Run formatter on dev_compiler.
BUG=
R=vsm@google.com

Review-Url: https://codereview.chromium.org/2830503002 .
2017-04-18 16:16:14 -07:00
Brian Wilkerson 3e51e6d3c9 Fix reference to validate method
R=paulberry@google.com

Review URL: https://codereview.chromium.org/2536233002 .
2016-11-29 09:57:27 -08:00
Vijay Menon ead14fbd74 Update global_compile tool
R=jmesserly@google.com

Review URL: https://codereview.chromium.org/2363053003 .
2016-09-23 13:30:18 -07:00
Vijay Menon 9af2fb0115 More DDC mirrors support
(Note, this is a straight migration of the old DDC repo CL. :-))

R=jmesserly@google.com

Review URL: https://codereview.chromium.org/2301973002 .
2016-09-01 10:13:31 -07:00
John Messerly f0517c4deb Enable strong mode in DDC, fix all warnings/errors
R=leafp@google.com

Review URL: https://codereview.chromium.org/2016483002 .
2016-05-26 11:13:32 -07:00
Vijay Menon eef9bb5b5a Speed up global tool
Use parsedirectives instead of resolution - this is much faster.

R=leafp@google.com

Review URL: https://codereview.chromium.org/1987723002 .
2016-05-17 09:29:03 -07:00
Vijay Menon 4869a0641d Modify global compile tool to compile by package
This produces output closer to what we get in bazel - you may want to use this to analyzer load perf.  It will also let me drill down on individual compile steps.

Using process & async adds complexity, but a lot of speedup over doing it linearly.

R=jmesserly@google.com

Review URL: https://codereview.chromium.org/1965013003 .
2016-05-11 14:56:21 -07:00
Vijay Menon 642d08f400 Add global compile tool
This is for testing purposes and hence in tool.  Gives a dart2js-ish
API to invoke DDC, but stuffs everything in one module.

Closed https://codereview.chromium.org/1900813002/ in favor of this.

R=jmesserly@google.com

Review URL: https://codereview.chromium.org/1951433002 .
2016-05-04 08:57:31 -07:00