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

Issue 2915523003: Create new interface instead of ClosureClassMap for variable usage information that is not Element-…

Created:
3 years, 6 months ago by Emily Fortuna
Modified:
3 years, 6 months ago
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Create new interface instead of ClosureClassMap for variable usage information that is not Element-dependent. BUG=

Patch Set 1 #

Patch Set 2 : . #

Total comments: 18

Patch Set 3 : . #

Patch Set 4 : .. #

Patch Set 5 : ... #

Patch Set 6 : .... #

Patch Set 7 : merged with head #

Patch Set 8 : merge with master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+187 lines, -68 lines) Patch
M pkg/compiler/lib/src/closure.dart View 1 2 3 4 5 6 7 11 chunks +134 lines, -13 lines 0 comments Download
M pkg/compiler/lib/src/dump_info.dart View 1 2 3 4 1 chunk +2 lines, -5 lines 0 comments Download
M pkg/compiler/lib/src/inferrer/builder.dart View 1 2 3 4 5 6 7 3 chunks +5 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/inferrer/builder_kernel.dart View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart View 1 2 3 4 5 6 7 2 chunks +4 lines, -4 lines 0 comments Download
M pkg/compiler/lib/src/ssa/builder.dart View 1 2 3 4 5 6 7 4 chunks +18 lines, -20 lines 0 comments Download
M pkg/compiler/lib/src/ssa/builder_kernel.dart View 1 2 3 4 5 6 7 2 chunks +13 lines, -16 lines 0 comments Download
M pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M pkg/compiler/lib/src/ssa/locals_handler.dart View 1 2 3 4 5 6 7 4 chunks +9 lines, -5 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
Emily Fortuna
Definitely more to do. These interfaces are very much a work in progress. :-/
3 years, 6 months ago (2017-05-31 06:05:58 UTC) #4
Johnni Winther
lgtm https://codereview.chromium.org/2915523003/diff/60001/pkg/compiler/lib/src/closure.dart File pkg/compiler/lib/src/closure.dart (right): https://codereview.chromium.org/2915523003/diff/60001/pkg/compiler/lib/src/closure.dart#newcode28 pkg/compiler/lib/src/closure.dart:28: abstract class ClosureClassMaps<T> { I'd prefer if these ...
3 years, 6 months ago (2017-05-31 12:39:51 UTC) #5
Siggi Cherem (dart-lang)
We talked offline so, the comments below are likely repetitive :) While on the whiteboard ...
3 years, 6 months ago (2017-05-31 20:44:39 UTC) #6
Siggi Cherem (dart-lang)
3 years, 6 months ago (2017-06-01 15:40:30 UTC) #7
just realized I have one more comment below that I had drafted on my laptop and
haven't save it yet :)

https://codereview.chromium.org/2915523003/diff/60001/pkg/compiler/lib/src/cl...
File pkg/compiler/lib/src/closure.dart (right):

https://codereview.chromium.org/2915523003/diff/60001/pkg/compiler/lib/src/cl...
pkg/compiler/lib/src/closure.dart:78: if (scopeData == null) return new
CapturedVariableInfo();
consider adding a const constructor to CapturedVariableInfo, that way we can
reuse the same instance here.

Powered by Google App Engine
This is Rietveld 408576698