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

Issue 24118004: It's not just [] that return the element type of a List. Make the container optimization work for s… (Closed)

Created:
7 years, 3 months ago by ngeoffray
Modified:
7 years, 3 months ago
Reviewers:
kasperl
CC:
reviews_dartlang.org
Visibility:
Public.

Description

It's not just [] that return the element type of a List. Make the container optimization work for selectors we know return the element type. R=kasperl@google.com Committed: https://code.google.com/p/dart/source/detail?r=27805

Patch Set 1 : #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Messages

Total messages: 5 (0 generated)
ngeoffray
7 years, 3 months ago (2013-09-24 08:35:17 UTC) #1
kasperl
lgtm LGTM. Do you need to extend a test case? https://codereview.chromium.org/24118004/diff/5001/sdk/lib/_internal/compiler/implementation/inferrer/type_graph_inferrer.dart File sdk/lib/_internal/compiler/implementation/inferrer/type_graph_inferrer.dart (right): https://codereview.chromium.org/24118004/diff/5001/sdk/lib/_internal/compiler/implementation/inferrer/type_graph_inferrer.dart#newcode787 ...
7 years, 3 months ago (2013-09-24 08:42:22 UTC) #2
ngeoffray
Test added. Thanks Kasper. https://codereview.chromium.org/24118004/diff/5001/sdk/lib/_internal/compiler/implementation/inferrer/type_graph_inferrer.dart File sdk/lib/_internal/compiler/implementation/inferrer/type_graph_inferrer.dart (right): https://codereview.chromium.org/24118004/diff/5001/sdk/lib/_internal/compiler/implementation/inferrer/type_graph_inferrer.dart#newcode787 sdk/lib/_internal/compiler/implementation/inferrer/type_graph_inferrer.dart:787: && returnsElementTypeSet.contains(selector.name.slowToString())) { On 2013/09/24 ...
7 years, 3 months ago (2013-09-24 10:06:50 UTC) #3
kasperl
Still LGTM.
7 years, 3 months ago (2013-09-24 10:09:55 UTC) #4
ngeoffray
7 years, 3 months ago (2013-09-24 10:32:37 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 manually as r27805 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698