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

Issue 2922533002: Start implementing IncrementalClassHierarchy. (Closed)

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

Description

Patch Set 1 #

Total comments: 8

Patch Set 2 : Fixes for review comments. #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+203 lines, -0 lines) Patch
A pkg/kernel/lib/src/incremental_class_hierarchy.dart View 1 1 chunk +114 lines, -0 lines 6 comments Download
M pkg/kernel/test/class_hierarchy_test.dart View 1 3 chunks +89 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (1 generated)
scheglov
3 years, 6 months ago (2017-06-01 18:40:15 UTC) #1
Paul Berry
https://codereview.chromium.org/2922533002/diff/1/pkg/kernel/lib/src/incremental_class_hierarchy.dart File pkg/kernel/lib/src/incremental_class_hierarchy.dart (right): https://codereview.chromium.org/2922533002/diff/1/pkg/kernel/lib/src/incremental_class_hierarchy.dart#newcode19 pkg/kernel/lib/src/incremental_class_hierarchy.dart:19: // TODO: implement classes Change the TODOs in this ...
3 years, 6 months ago (2017-06-01 21:39:03 UTC) #2
scheglov
PTAL https://codereview.chromium.org/2922533002/diff/1/pkg/kernel/lib/src/incremental_class_hierarchy.dart File pkg/kernel/lib/src/incremental_class_hierarchy.dart (right): https://codereview.chromium.org/2922533002/diff/1/pkg/kernel/lib/src/incremental_class_hierarchy.dart#newcode19 pkg/kernel/lib/src/incremental_class_hierarchy.dart:19: // TODO: implement classes On 2017/06/01 21:39:03, Paul ...
3 years, 6 months ago (2017-06-01 21:50:36 UTC) #3
Paul Berry
lgtm
3 years, 6 months ago (2017-06-01 21:59:04 UTC) #4
scheglov
Committed patchset #2 (id:20001) manually as 65c1f5f8ab15ad1ce96b208ce1a152da7299246c (presubmit successful).
3 years, 6 months ago (2017-06-01 22:01:59 UTC) #6
ahe
lgtm https://codereview.chromium.org/2922533002/diff/20001/pkg/kernel/lib/src/incremental_class_hierarchy.dart File pkg/kernel/lib/src/incremental_class_hierarchy.dart (right): https://codereview.chromium.org/2922533002/diff/20001/pkg/kernel/lib/src/incremental_class_hierarchy.dart#newcode14 pkg/kernel/lib/src/incremental_class_hierarchy.dart:14: /// It is filled lazily as the client ...
3 years, 6 months ago (2017-06-02 11:34:48 UTC) #7
Paul Berry
https://codereview.chromium.org/2922533002/diff/20001/pkg/kernel/lib/src/incremental_class_hierarchy.dart File pkg/kernel/lib/src/incremental_class_hierarchy.dart (right): https://codereview.chromium.org/2922533002/diff/20001/pkg/kernel/lib/src/incremental_class_hierarchy.dart#newcode42 pkg/kernel/lib/src/incremental_class_hierarchy.dart:42: superDepth = max(superDepth, getClassDepth(node.supertype.classNode)); On 2017/06/02 11:34:48, ahe wrote: ...
3 years, 6 months ago (2017-06-02 12:25:49 UTC) #8
ahe
https://codereview.chromium.org/2922533002/diff/20001/pkg/kernel/lib/src/incremental_class_hierarchy.dart File pkg/kernel/lib/src/incremental_class_hierarchy.dart (right): https://codereview.chromium.org/2922533002/diff/20001/pkg/kernel/lib/src/incremental_class_hierarchy.dart#newcode42 pkg/kernel/lib/src/incremental_class_hierarchy.dart:42: superDepth = max(superDepth, getClassDepth(node.supertype.classNode)); On 2017/06/02 12:25:48, Paul Berry ...
3 years, 6 months ago (2017-06-02 12:29:04 UTC) #9
scheglov
https://codereview.chromium.org/2922533002/diff/20001/pkg/kernel/lib/src/incremental_class_hierarchy.dart File pkg/kernel/lib/src/incremental_class_hierarchy.dart (right): https://codereview.chromium.org/2922533002/diff/20001/pkg/kernel/lib/src/incremental_class_hierarchy.dart#newcode14 pkg/kernel/lib/src/incremental_class_hierarchy.dart:14: /// It is filled lazily as the client requests ...
3 years, 6 months ago (2017-06-02 15:36:07 UTC) #10
ahe
3 years, 6 months ago (2017-06-02 15:43:46 UTC) #11
Message was sent while issue was closed.
https://codereview.chromium.org/2922533002/diff/20001/pkg/kernel/lib/src/incr...
File pkg/kernel/lib/src/incremental_class_hierarchy.dart (right):

https://codereview.chromium.org/2922533002/diff/20001/pkg/kernel/lib/src/incr...
pkg/kernel/lib/src/incremental_class_hierarchy.dart:14: /// It is filled lazily
as the client requests information about classes.
On 2017/06/02 15:36:07, scheglov wrote:
> On 2017/06/02 11:34:48, ahe wrote:
> > What are your plans for the incremental part of this?
> 
> I think we can use single instance of IncrementalClassHierarchy to
sequentially
> analyze all strong connected components of libraries. So, every new class we
> will request information for is "increment" to already known information about
> its superclasses defined in previous components.
> 
> For mixin processing, we might want to clear information about a class when we
> make changes to its structure, e.g. copy methods into it.

Thank you for explaining.

Powered by Google App Engine
This is Rietveld 408576698