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

Issue 2978263003: Add nonboxed closure class fields. (Closed)

Created:
3 years, 5 months ago by Emily Fortuna
Modified:
3 years, 5 months ago
Reviewers:
Johnni Winther, sra1
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 : . #

Total comments: 6

Patch Set 2 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+180 lines, -51 lines) Patch
M pkg/compiler/lib/src/js_model/closure.dart View 1 14 chunks +165 lines, -50 lines 0 comments Download
M pkg/compiler/lib/src/js_model/closure_visitors.dart View 3 chunks +8 lines, -1 line 0 comments Download
M pkg/compiler/lib/src/kernel/element_map_impl.dart View 1 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
Emily Fortuna
Johnni, this goes with the clarifying question I emailed you about earlier today. I'm running ...
3 years, 5 months ago (2017-07-19 00:10:30 UTC) #3
Johnni Winther
https://codereview.chromium.org/2978263003/diff/20001/pkg/compiler/lib/src/kernel/element_map_impl.dart File pkg/compiler/lib/src/kernel/element_map_impl.dart (right): https://codereview.chromium.org/2978263003/diff/20001/pkg/compiler/lib/src/kernel/element_map_impl.dart#newcode693 pkg/compiler/lib/src/kernel/element_map_impl.dart:693: //_memberData.add(field); On 2017/07/19 00:10:30, Emily Fortuna wrote: > This ...
3 years, 5 months ago (2017-07-19 10:47:12 UTC) #4
sra1
lgtm https://codereview.chromium.org/2978263003/diff/20001/pkg/compiler/lib/src/js_model/closure.dart File pkg/compiler/lib/src/js_model/closure.dart (right): https://codereview.chromium.org/2978263003/diff/20001/pkg/compiler/lib/src/js_model/closure.dart#newcode158 pkg/compiler/lib/src/js_model/closure.dart:158: parts.insert(0, treeNode.name.name); fyi We can just add() these ...
3 years, 5 months ago (2017-07-19 21:14:13 UTC) #5
Emily Fortuna
Committed patchset #2 (id:40001) manually as dc99692b41522073fba4fb5ee1a3654361d0567e (presubmit successful).
3 years, 5 months ago (2017-07-19 22:30:15 UTC) #7
Emily Fortuna
3 years, 5 months ago (2017-07-19 22:30:40 UTC) #8
Message was sent while issue was closed.
https://codereview.chromium.org/2978263003/diff/20001/pkg/compiler/lib/src/js...
File pkg/compiler/lib/src/js_model/closure.dart (right):

https://codereview.chromium.org/2978263003/diff/20001/pkg/compiler/lib/src/js...
pkg/compiler/lib/src/js_model/closure.dart:158: parts.insert(0,
treeNode.name.name);
On 2017/07/19 21:14:12, sra1 wrote:
> fyi We can just add() these since the parts is empty.

Done.

https://codereview.chromium.org/2978263003/diff/20001/pkg/compiler/lib/src/js...
pkg/compiler/lib/src/js_model/closure.dart:193: return parts.join('_');
On 2017/07/19 21:14:12, sra1 wrote:
> fyi maybe just always add and then do parts.reversed.join

good call.

Powered by Google App Engine
This is Rietveld 408576698