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

Issue 17028011: Implement a list tracer phase, that tries to find element types in individual lists. (Closed)

Created:
7 years, 6 months ago by ngeoffray
Modified:
7 years, 6 months ago
Reviewers:
kasperl
CC:
reviews_dartlang.org, ahe, karlklose, Johnni Winther, polux, sra1
Visibility:
Public.

Description

Implement a list tracer phase, that tries to find element types in individual lists. R=kasperl@google.com Committed: https://code.google.com/p/dart/source/detail?r=24093

Patch Set 1 : #

Total comments: 20

Patch Set 2 : #

Total comments: 3

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1237 lines, -142 lines) Patch
M sdk/lib/_internal/compiler/implementation/compiler.dart View 1 2 chunks +2 lines, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/dart2jslib.dart View 1 1 chunk +1 line, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/ssa/builder.dart View 2 chunks +10 lines, -3 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/ssa/invoke_dynamic_specializers.dart View 1 chunk +11 lines, -11 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/ssa/tracer.dart View 2 chunks +9 lines, -7 lines 0 comments Download
A sdk/lib/_internal/compiler/implementation/types/container_tracer.dart View 1 2 1 chunk +666 lines, -0 lines 0 comments Download
A sdk/lib/_internal/compiler/implementation/types/container_type_mask.dart View 1 1 chunk +138 lines, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/types/flat_type_mask.dart View 1 chunk +1 line, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/types/inferrer_visitor.dart View 1 15 chunks +24 lines, -17 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart View 13 chunks +73 lines, -86 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/types/type_mask.dart View 1 chunk +1 line, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/types/types.dart View 1 6 chunks +68 lines, -16 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/types/union_type_mask.dart View 4 chunks +10 lines, -1 line 0 comments Download
M tests/compiler/dart2js/concrete_type_inference_test.dart View 1 1 chunk +1 line, -0 lines 0 comments Download
A tests/compiler/dart2js/list_tracer_test.dart View 1 1 chunk +220 lines, -0 lines 0 comments Download
M tests/compiler/dart2js/mock_compiler.dart View 1 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
ngeoffray
Unit tests to come, but the code should be in a reasonable form for review.
7 years, 6 months ago (2013-06-14 11:37:09 UTC) #1
kasperl
Looks pretty good -- looking forward to seeing the tests. https://codereview.chromium.org/17028011/diff/2001/sdk/lib/_internal/compiler/implementation/types/container_type_mask.dart File sdk/lib/_internal/compiler/implementation/types/container_type_mask.dart (right): https://codereview.chromium.org/17028011/diff/2001/sdk/lib/_internal/compiler/implementation/types/container_type_mask.dart#newcode9 ...
7 years, 6 months ago (2013-06-17 07:43:30 UTC) #2
ngeoffray
Thanks Kasper. I addressed your comments and added a unit test. PTAL. https://codereview.chromium.org/17028011/diff/2001/sdk/lib/_internal/compiler/implementation/types/container_type_mask.dart File sdk/lib/_internal/compiler/implementation/types/container_type_mask.dart ...
7 years, 6 months ago (2013-06-17 08:59:36 UTC) #3
kasperl
LGTM. https://codereview.chromium.org/17028011/diff/9001/sdk/lib/_internal/compiler/implementation/types/container_tracer.dart File sdk/lib/_internal/compiler/implementation/types/container_tracer.dart (right): https://codereview.chromium.org/17028011/diff/9001/sdk/lib/_internal/compiler/implementation/types/container_tracer.dart#newcode98 sdk/lib/_internal/compiler/implementation/types/container_tracer.dart:98: mask.elementType = Long line. https://codereview.chromium.org/17028011/diff/9001/sdk/lib/_internal/compiler/implementation/types/container_tracer.dart#newcode135 sdk/lib/_internal/compiler/implementation/types/container_tracer.dart:135: static const ...
7 years, 6 months ago (2013-06-17 12:01:15 UTC) #4
ngeoffray
Thanks Kasper! https://codereview.chromium.org/17028011/diff/9001/sdk/lib/_internal/compiler/implementation/types/container_tracer.dart File sdk/lib/_internal/compiler/implementation/types/container_tracer.dart (right): https://codereview.chromium.org/17028011/diff/9001/sdk/lib/_internal/compiler/implementation/types/container_tracer.dart#newcode98 sdk/lib/_internal/compiler/implementation/types/container_tracer.dart:98: mask.elementType = On 2013/06/17 12:01:15, kasperl wrote: ...
7 years, 6 months ago (2013-06-17 12:03:10 UTC) #5
ngeoffray
7 years, 6 months ago (2013-06-17 12:35:06 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 manually as r24093 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698