Commit Graph

5 Commits

Author SHA1 Message Date
Jacob Richman 2dcd56ef43 Format all tests.
There are far too many files here to review everyone carefully.
Spot checking most of the diffs look good as test code is generally written
with less care than application code so lots of ugly formatting get through.
If people notice files where the automated formatting bothers them feel free
to comment indicating file names and I'll move spaces within comments to make
the formatting cleaner and use comments to force block formatting as I have
done for other case where formatting looked bad.

BUG=
R=efortuna@google.com

Review-Url: https://codereview.chromium.org/2771453003 .
2017-04-17 14:53:02 -07:00
asgerf@google.com b73bfcf636 dart2dart: Preserve variable names throughout the IR.
I had to add register allocation to avoid unsoundness in some cases where an expression needs to reference a previous version of a variable.

Register allocation is disabled for variables without an associated element, because it will typically block inlining of these variables.

BUG=
R=kmillikin@google.com, sigurdm@google.com

Review URL: https://codereview.chromium.org//312793002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37312 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-13 12:50:57 +00:00
asgerf@google.com 7c3de14b45 dart2dart: Restore loops with conditions and updates in backend.
BUG=
R=kmillikin@google.com, sigurdm@google.com

Review URL: https://codereview.chromium.org//318723002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37266 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-12 12:47:51 +00:00
asgerf@google.com f29b3960a8 dart2dart: Test cases for better code coverage in dart_tree rewritings.
Also:
- fixes a pattern matching bug revealed by a test.
- contains a tool for profiling multiple compilations in Dart Observatory.

BUG=
R=sigurdm@google.com

Review URL: https://codereview.chromium.org//288343014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36678 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-27 13:39:35 +00:00
asgerf@google.com 9e6547b68e dart2dart: Fix fallthrough in while statements.
BUG=
R=kmillikin@google.com

Review URL: https://codereview.chromium.org//294163011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36566 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-23 12:38:04 +00:00