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

Issue 705023002: dart2js: Add a type parameter to class Reference in the CPS IR. (Closed)

Created:
6 years, 1 month ago by Kevin Millikin (Google)
Modified:
6 years, 1 month ago
CC:
reviews_dartlang.org, Johnni Winther
Visibility:
Public.

Description

dart2js: Add a type parameter to class Reference in the CPS IR. It's useful to know when references are to continuations or primitives, and to avoid mixing them --- currently, continuations are not first-class and cannot appear where a primitive is expected and vice versa. BUG= R=johnniwinther@google.com, karlklose@google.com, sigurdm@google.com Committed: https://code.google.com/p/dart/source/detail?r=41564

Patch Set 1 #

Total comments: 2

Patch Set 2 : Forgot to hit 'save' on the editor. #

Patch Set 3 : Make the tests pass. #

Patch Set 4 : Make analyzer2dart tests pass. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -85 lines) Patch
M pkg/analyzer2dart/lib/src/cps_generator.dart View 1 2 3 5 chunks +7 lines, -7 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/constant_propagation.dart View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart View 1 2 3 12 chunks +17 lines, -17 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/cps_ir_builder_visitor.dart View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/cps_ir/cps_ir_nodes.dart View 1 21 chunks +57 lines, -57 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
Kevin Millikin (Google)
I'd like to make this change. What do you think? https://codereview.chromium.org/705023002/diff/1/sdk/lib/_internal/compiler/implementation/cps_ir/cps_ir_nodes.dart File sdk/lib/_internal/compiler/implementation/cps_ir/cps_ir_nodes.dart (right): https://codereview.chromium.org/705023002/diff/1/sdk/lib/_internal/compiler/implementation/cps_ir/cps_ir_nodes.dart#newcode32 ...
6 years, 1 month ago (2014-11-06 10:35:50 UTC) #2
karlklose
LGTM. https://codereview.chromium.org/705023002/diff/1/sdk/lib/_internal/compiler/implementation/cps_ir/cps_ir_nodes.dart File sdk/lib/_internal/compiler/implementation/cps_ir/cps_ir_nodes.dart (right): https://codereview.chromium.org/705023002/diff/1/sdk/lib/_internal/compiler/implementation/cps_ir/cps_ir_nodes.dart#newcode32 sdk/lib/_internal/compiler/implementation/cps_ir/cps_ir_nodes.dart:32: abstract class Definition<T extends Definition<T>> extends Node { ...
6 years, 1 month ago (2014-11-06 11:33:51 UTC) #3
Kevin Millikin (Google)
D'oh! I forgot to hit save on the editor so I didn't include all the ...
6 years, 1 month ago (2014-11-06 13:09:08 UTC) #4
karlklose
Still LGTM.
6 years, 1 month ago (2014-11-06 13:15:11 UTC) #5
sigurdm
lgtm. I CC Johnni, it might affect his work on analyzer2dart
6 years, 1 month ago (2014-11-06 13:18:31 UTC) #6
Johnni Winther
LGTM but I suspect that it will cause checked mode errors in analyzer2dart (since I ...
6 years, 1 month ago (2014-11-06 13:51:55 UTC) #8
Kevin Millikin (Google)
On 2014/11/06 13:51:55, Johnni Winther wrote: > LGTM but I suspect that it will cause ...
6 years, 1 month ago (2014-11-06 14:13:19 UTC) #9
Johnni Winther
LGTM
6 years, 1 month ago (2014-11-06 14:18:17 UTC) #10
Kevin Millikin (Google)
6 years, 1 month ago (2014-11-06 15:50:00 UTC) #11
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as 41564 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698