Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(247)

Issue 318723002: dart2dart: Restore loops with conditions and updates in backend. (Closed)

Created:
6 years, 6 months ago by asgerf
Modified:
6 years, 6 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

dart2dart: Restore loops with conditions and updates in backend. BUG= R=kmillikin@google.com, sigurdm@google.com Committed: https://code.google.com/p/dart/source/detail?r=37266

Patch Set 1 #

Patch Set 2 : For loops and update expressions #

Total comments: 8

Patch Set 3 : Kevin's comments + bugfix #

Total comments: 2

Patch Set 4 : SVN rebase #

Patch Set 5 : SVN rebase #

Patch Set 6 : Test cases #

Unified diffs Side-by-side diffs Delta from patch set Stats (+492 lines, -195 lines) Patch
M sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/dart_backend/dart_codegen.dart View 1 2 3 4 3 chunks +55 lines, -8 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/dart_backend/dart_tree.dart View 1 2 3 4 32 chunks +291 lines, -99 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/dart_backend/tree_tracer.dart View 11 chunks +64 lines, -71 lines 0 comments Download
A + tests/language/rewrite_for_update_order_test.dart View 1 2 3 4 5 1 chunk +16 lines, -17 lines 0 comments Download
A tests/language/rewrite_while_many_exits_test.dart View 1 2 3 4 5 1 chunk +48 lines, -0 lines 0 comments Download
M tests/language/rewrite_while_test.dart View 1 2 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
asgerf
6 years, 6 months ago (2014-06-04 14:53:43 UTC) #1
Kevin Millikin (Google)
LGTM. I had two small questions when reading the code and so it probably needs ...
6 years, 6 months ago (2014-06-10 11:08:31 UTC) #2
asgerf
https://codereview.chromium.org/318723002/diff/20001/sdk/lib/_internal/compiler/implementation/dart_backend/dart_tree.dart File sdk/lib/_internal/compiler/implementation/dart_backend/dart_tree.dart (right): https://codereview.chromium.org/318723002/diff/20001/sdk/lib/_internal/compiler/implementation/dart_backend/dart_tree.dart#newcode1333 sdk/lib/_internal/compiler/implementation/dart_backend/dart_tree.dart:1333: body.thenStatement = visitStatement(body.thenStatement); On 2014/06/10 11:08:31, kmillikin wrote: > ...
6 years, 6 months ago (2014-06-10 12:02:21 UTC) #3
sigurdm
LGTM https://codereview.chromium.org/318723002/diff/40001/sdk/lib/_internal/compiler/implementation/dart_backend/dart_codegen.dart File sdk/lib/_internal/compiler/implementation/dart_backend/dart_codegen.dart (right): https://codereview.chromium.org/318723002/diff/40001/sdk/lib/_internal/compiler/implementation/dart_backend/dart_codegen.dart#newcode215 sdk/lib/_internal/compiler/implementation/dart_backend/dart_codegen.dart:215: tree.Statement fall = fallthrough; Why is this in ...
6 years, 6 months ago (2014-06-10 12:30:06 UTC) #4
asgerf
https://codereview.chromium.org/318723002/diff/40001/sdk/lib/_internal/compiler/implementation/dart_backend/dart_codegen.dart File sdk/lib/_internal/compiler/implementation/dart_backend/dart_codegen.dart (right): https://codereview.chromium.org/318723002/diff/40001/sdk/lib/_internal/compiler/implementation/dart_backend/dart_codegen.dart#newcode215 sdk/lib/_internal/compiler/implementation/dart_backend/dart_codegen.dart:215: tree.Statement fall = fallthrough; On 2014/06/10 12:30:06, sigurdm wrote: ...
6 years, 6 months ago (2014-06-10 12:46:42 UTC) #5
sigurdm
Ah - of course
6 years, 6 months ago (2014-06-10 12:52:24 UTC) #6
asgerf
6 years, 6 months ago (2014-06-12 12:48:02 UTC) #7
Message was sent while issue was closed.
Committed patchset #6 manually as r37266 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698