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

Issue 2545413002: Move processing of instantiated classes from ResolutionEnqueuer to ResolutionWorldBuilderImpl (Closed)

Created:
4 years ago by Johnni Winther
Modified:
4 years ago
Reviewers:
Harry Terkelsen
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Move processing of instantiated classes from ResolutionEnqueuer to ResolutionWorldBuilderImpl R=het@google.com Committed: https://github.com/dart-lang/sdk/commit/61d10296ee1a2b7bfe6710861960523080c0e737

Patch Set 1 #

Patch Set 2 : Cleanup. #

Total comments: 6

Patch Set 3 : Updated cf. comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+198 lines, -134 lines) Patch
M pkg/compiler/lib/src/enqueue.dart View 9 chunks +21 lines, -56 lines 0 comments Download
M pkg/compiler/lib/src/universe/world_builder.dart View 1 2 19 chunks +177 lines, -78 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
Johnni Winther
4 years ago (2016-12-05 11:12:24 UTC) #2
Harry Terkelsen
lgtm https://codereview.chromium.org/2545413002/diff/20001/pkg/compiler/lib/src/universe/world_builder.dart File pkg/compiler/lib/src/universe/world_builder.dart (right): https://codereview.chromium.org/2545413002/diff/20001/pkg/compiler/lib/src/universe/world_builder.dart#newcode514 pkg/compiler/lib/src/universe/world_builder.dart:514: || nitpick: I've been moving these '||' to ...
4 years ago (2016-12-05 23:18:12 UTC) #3
Johnni Winther
Committed patchset #3 (id:40001) manually as 61d10296ee1a2b7bfe6710861960523080c0e737 (presubmit successful).
4 years ago (2016-12-06 09:54:20 UTC) #5
Johnni Winther
4 years ago (2016-12-06 09:58:42 UTC) #6
Message was sent while issue was closed.
https://codereview.chromium.org/2545413002/diff/20001/pkg/compiler/lib/src/un...
File pkg/compiler/lib/src/universe/world_builder.dart (right):

https://codereview.chromium.org/2545413002/diff/20001/pkg/compiler/lib/src/un...
pkg/compiler/lib/src/universe/world_builder.dart:514: ||
On 2016/12/05 23:18:12, Harry Terkelsen wrote:
> nitpick: I've been moving these '||' to the end of the line before the
comments
> to make dartfmt happy

Done.

https://codereview.chromium.org/2545413002/diff/20001/pkg/compiler/lib/src/un...
pkg/compiler/lib/src/universe/world_builder.dart:775: while (cls != null &&
processClass(cls)) {
On 2016/12/05 23:18:12, Harry Terkelsen wrote:
> is the assumption that we stop going up the superclass chain because once one
> has been instantiated then all of the rest up the chain must also be
> instantiated?

Yes. Added as comment.

https://codereview.chromium.org/2545413002/diff/20001/pkg/compiler/lib/src/un...
pkg/compiler/lib/src/universe/world_builder.dart:1447: class ClassUse {
On 2016/12/05 23:18:12, Harry Terkelsen wrote:
> same comment as with MemberUse, can't this be an enum?

Done.

Powered by Google App Engine
This is Rietveld 408576698