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

Issue 1040093002: Change the collection of continuation jumps. (Closed)

Created:
5 years, 8 months ago by Kevin Millikin (Google)
Modified:
5 years, 8 months ago
Reviewers:
asgerf, sra1
CC:
reviews_dartlang.org
Target Ref:
refs/remotes/git-svn
Visibility:
Public.

Description

Change the collection of continuation jumps. Encapsulate the responsibility for emitting jumps and building continuation environments in the JumpCollector class. JumpCollectors are now used for continuations that are not break or continue targets in the source program (e.g., some of the loop continuations) for uniformity. BUG= R=asgerf@google.com Committed: https://code.google.com/p/dart/source/detail?r=44964

Patch Set 1 #

Patch Set 2 : Clean up some comments. #

Total comments: 26

Patch Set 3 : Incorporated review comments, rebased. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+468 lines, -518 lines) Patch
M pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart View 1 2 32 chunks +458 lines, -505 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart View 4 chunks +9 lines, -12 lines 0 comments Download
M tests/compiler/dart2js/backend_dart/sexpr_unstringifier.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 8 (1 generated)
Kevin Millikin (Google)
The existing approach was starting to get unwieldy for the translation of try/finally.
5 years, 8 months ago (2015-04-07 09:12:38 UTC) #2
Kevin Millikin (Google)
https://codereview.chromium.org/1040093002/diff/20001/pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart File pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart (right): https://codereview.chromium.org/1040093002/diff/20001/pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart#newcode51 pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart:51: Environment.fresh(Environment other, List<ir.Parameter> parameters) `parameters` is an output parameter ...
5 years, 8 months ago (2015-04-07 09:14:55 UTC) #3
asgerf
LGTM! Code in the IR builder is still fairly hard to read, but it has ...
5 years, 8 months ago (2015-04-07 13:42:42 UTC) #4
Kevin Millikin (Google)
https://codereview.chromium.org/1040093002/diff/20001/pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart File pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart (right): https://codereview.chromium.org/1040093002/diff/20001/pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart#newcode51 pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart:51: Environment.fresh(Environment other, List<ir.Parameter> parameters) On 2015/04/07 13:42:42, asgerf wrote: ...
5 years, 8 months ago (2015-04-08 10:56:59 UTC) #5
Kevin Millikin (Google)
On 2015/04/07 13:42:42, asgerf wrote: > LGTM! > > Code in the IR builder is ...
5 years, 8 months ago (2015-04-08 11:04:03 UTC) #6
asgerf
https://codereview.chromium.org/1040093002/diff/20001/pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart File pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart (right): https://codereview.chromium.org/1040093002/diff/20001/pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart#newcode786 pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart:786: // avoid inserting a useless continuation parameter. On 2015/04/08 ...
5 years, 8 months ago (2015-04-08 11:10:21 UTC) #7
Kevin Millikin (Google)
5 years, 8 months ago (2015-04-08 12:49:33 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as 44964 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698