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

Issue 2925263002: A step towards handling `new Object()` in compile_from_dill_test (Closed)

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

Description

A step towards handling `new Object()` in compile_from_dill_test R=sigmund@google.com Committed: https://github.com/dart-lang/sdk/commit/0f7ee4a6ed43fbe12bcae84010ceea0155c5914d

Patch Set 1 #

Total comments: 9

Patch Set 2 : Updated cf. comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+167 lines, -170 lines) Patch
M pkg/compiler/lib/src/closure.dart View 1 5 chunks +7 lines, -7 lines 0 comments Download
M pkg/compiler/lib/src/elements/common.dart View 1 3 chunks +9 lines, -13 lines 0 comments Download
M pkg/compiler/lib/src/elements/elements.dart View 1 5 chunks +4 lines, -16 lines 0 comments Download
M pkg/compiler/lib/src/elements/modelx.dart View 1 2 chunks +7 lines, -10 lines 0 comments Download
M pkg/compiler/lib/src/js_backend/namer.dart View 5 chunks +10 lines, -10 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/program_builder/collector.dart View 3 chunks +13 lines, -11 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/program_builder/program_builder.dart View 1 14 chunks +51 lines, -53 lines 0 comments Download
M pkg/compiler/lib/src/js_emitter/runtime_type_generator.dart View 1 3 chunks +8 lines, -4 lines 0 comments Download
M pkg/compiler/lib/src/kernel/element_map.dart View 1 chunk +4 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/kernel/element_map_impl.dart View 3 chunks +3 lines, -3 lines 0 comments Download
M pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart View 1 chunk +1 line, -0 lines 0 comments Download
M pkg/compiler/lib/src/kernel/types.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/compiler/lib/src/resolution/resolution_strategy.dart View 1 chunk +3 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/ssa/builder_kernel.dart View 1 6 chunks +38 lines, -39 lines 0 comments Download
M pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart View 1 chunk +2 lines, -0 lines 0 comments Download
M pkg/compiler/lib/src/ssa/rasta_ssa_builder_task.dart View 1 chunk +1 line, -0 lines 0 comments Download
M pkg/compiler/lib/src/universe/codegen_world_builder.dart View 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
Johnni Winther
3 years, 6 months ago (2017-06-08 12:30:34 UTC) #2
Siggi Cherem (dart-lang)
lgtm https://codereview.chromium.org/2925263002/diff/1/pkg/compiler/lib/src/elements/common.dart File pkg/compiler/lib/src/elements/common.dart (right): https://codereview.chromium.org/2925263002/diff/1/pkg/compiler/lib/src/elements/common.dart#newcode476 pkg/compiler/lib/src/elements/common.dart:476: Link<ConstructorBodyElement> backendMembers = TODO: rename? https://codereview.chromium.org/2925263002/diff/1/pkg/compiler/lib/src/js_emitter/program_builder/program_builder.dart File pkg/compiler/lib/src/js_emitter/program_builder/program_builder.dart ...
3 years, 6 months ago (2017-06-08 18:01:46 UTC) #3
Johnni Winther
https://codereview.chromium.org/2925263002/diff/1/pkg/compiler/lib/src/elements/common.dart File pkg/compiler/lib/src/elements/common.dart (right): https://codereview.chromium.org/2925263002/diff/1/pkg/compiler/lib/src/elements/common.dart#newcode476 pkg/compiler/lib/src/elements/common.dart:476: Link<ConstructorBodyElement> backendMembers = On 2017/06/08 18:01:46, Siggi Cherem (dart-lang) ...
3 years, 6 months ago (2017-06-09 09:28:49 UTC) #4
Johnni Winther
Committed patchset #2 (id:20001) manually as 0f7ee4a6ed43fbe12bcae84010ceea0155c5914d (presubmit successful).
3 years, 6 months ago (2017-06-09 09:58:39 UTC) #6
Siggi Cherem (dart-lang)
lgtm https://codereview.chromium.org/2925263002/diff/1/pkg/compiler/lib/src/js_emitter/program_builder/program_builder.dart File pkg/compiler/lib/src/js_emitter/program_builder/program_builder.dart (right): https://codereview.chromium.org/2925263002/diff/1/pkg/compiler/lib/src/js_emitter/program_builder/program_builder.dart#newcode240 pkg/compiler/lib/src/js_emitter/program_builder/program_builder.dart:240: c.setMixinClass(_classes[computeMixinClass(cls)]); On 2017/06/09 09:28:49, Johnni Winther wrote: > ...
3 years, 6 months ago (2017-06-14 18:13:24 UTC) #7
Johnni Winther
3 years, 6 months ago (2017-06-15 07:44:12 UTC) #8
Message was sent while issue was closed.
https://codereview.chromium.org/2925263002/diff/1/pkg/compiler/lib/src/js_emi...
File pkg/compiler/lib/src/js_emitter/program_builder/program_builder.dart
(right):

https://codereview.chromium.org/2925263002/diff/1/pkg/compiler/lib/src/js_emi...
pkg/compiler/lib/src/js_emitter/program_builder/program_builder.dart:240:
c.setMixinClass(_classes[computeMixinClass(cls)]);
On 2017/06/14 18:13:24, Siggi Cherem (dart-lang) wrote:
> On 2017/06/09 09:28:49, Johnni Winther wrote:
> > On 2017/06/08 18:01:46, Siggi Cherem (dart-lang) wrote:
> > > should we do here the same fix you did in the other file? Or change
> > > computeMixinClass to take the _elementEnvironment and continue to use it
in
> > all
> > > 3 places?
> > 
> > ElementEnvironment.forEachMixin returns all mixins, here we need just the
> one...
> 
> are you saying that the code in program_builder/collector.dart was actually
> broken?

It wasn't - just weird: computeMixinClass didn't make sense when it was written
(a mixed in class could not itself be a mixin application). Turned out that the
refactoring was inconsistent. Fixed in
https://codereview.chromium.org/2934783002/

Powered by Google App Engine
This is Rietveld 408576698