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

Issue 14997006: Introduce a UnionTypeMask, currently limited to 4 types. (Closed)

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

Description

Introduce a UnionTypeMask, currently limited to 4 types. R=kasperl@google.com, polux@google.com Committed: https://code.google.com/p/dart/source/detail?r=23012

Patch Set 1 : #

Total comments: 31

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+417 lines, -140 lines) Patch
M sdk/lib/_internal/compiler/implementation/ssa/types.dart View 1 2 5 chunks +21 lines, -10 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/types/concrete_types_inferrer.dart View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/types/flat_type_mask.dart View 1 2 5 chunks +54 lines, -85 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart View 1 2 8 chunks +8 lines, -6 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/types/type_mask.dart View 1 2 3 chunks +12 lines, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/types/types.dart View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
A sdk/lib/_internal/compiler/implementation/types/union_type_mask.dart View 1 2 1 chunk +257 lines, -0 lines 0 comments Download
M tests/compiler/dart2js/call_site_simple_type_inferer_test.dart View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M tests/compiler/dart2js/call_site_type_inferer_static_test.dart View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/call_site_type_inferer_test.dart View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M tests/compiler/dart2js/cpa_inference_test.dart View 1 2 3 chunks +6 lines, -4 lines 0 comments Download
M tests/compiler/dart2js/field_type_inferer_test.dart View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M tests/compiler/dart2js/field_type_simple_inferer_test.dart View 1 2 2 chunks +6 lines, -6 lines 0 comments Download
M tests/compiler/dart2js/return_type_inferer_test.dart View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tests/compiler/dart2js/simple_inferrer_and_or_test.dart View 1 2 2 chunks +5 lines, -4 lines 0 comments Download
M tests/compiler/dart2js/simple_inferrer_final_field3_test.dart View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M tests/compiler/dart2js/simple_inferrer_final_field_test.dart View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M tests/compiler/dart2js/simple_inferrer_no_such_method_test.dart View 1 2 3 chunks +8 lines, -5 lines 0 comments Download
M tests/compiler/dart2js/simple_inferrer_postfix_prefix_test.dart View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M tests/compiler/dart2js/simple_inferrer_test.dart View 1 2 3 chunks +8 lines, -4 lines 0 comments Download
M tests/compiler/dart2js/simple_inferrer_try_catch_test.dart View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M tests/compiler/dart2js/type_combination_test.dart View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M tests/utils/dummy_compiler_test.dart View 1 2 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
ngeoffray
7 years, 7 months ago (2013-05-14 12:00:34 UTC) #1
polux
LGTM for concrete_types_inferrer.dart https://codereview.chromium.org/14997006/diff/5024/sdk/lib/_internal/compiler/implementation/types/concrete_types_inferrer.dart File sdk/lib/_internal/compiler/implementation/types/concrete_types_inferrer.dart (right): https://codereview.chromium.org/14997006/diff/5024/sdk/lib/_internal/compiler/implementation/types/concrete_types_inferrer.dart#newcode855 sdk/lib/_internal/compiler/implementation/types/concrete_types_inferrer.dart:855: if (other == null) return null; ...
7 years, 7 months ago (2013-05-14 12:04:14 UTC) #2
ngeoffray
https://codereview.chromium.org/14997006/diff/5024/sdk/lib/_internal/compiler/implementation/types/concrete_types_inferrer.dart File sdk/lib/_internal/compiler/implementation/types/concrete_types_inferrer.dart (right): https://codereview.chromium.org/14997006/diff/5024/sdk/lib/_internal/compiler/implementation/types/concrete_types_inferrer.dart#newcode855 sdk/lib/_internal/compiler/implementation/types/concrete_types_inferrer.dart:855: if (other == null) return null; On 2013/05/14 12:04:14, ...
7 years, 7 months ago (2013-05-14 12:06:21 UTC) #3
ngeoffray
The CL may have got lost in IO. Ping :-)
7 years, 7 months ago (2013-05-22 07:02:23 UTC) #4
kasperl
LGTM. https://codereview.chromium.org/14997006/diff/5024/sdk/lib/_internal/compiler/implementation/types/flat_type_mask.dart File sdk/lib/_internal/compiler/implementation/types/flat_type_mask.dart (right): https://codereview.chromium.org/14997006/diff/5024/sdk/lib/_internal/compiler/implementation/types/flat_type_mask.dart#newcode11 sdk/lib/_internal/compiler/implementation/types/flat_type_mask.dart:11: class FlatTypeMask implements TypeMask { I think we ...
7 years, 7 months ago (2013-05-22 07:58:29 UTC) #5
ngeoffray
Thanks Kasper. https://codereview.chromium.org/14997006/diff/5024/sdk/lib/_internal/compiler/implementation/types/flat_type_mask.dart File sdk/lib/_internal/compiler/implementation/types/flat_type_mask.dart (right): https://codereview.chromium.org/14997006/diff/5024/sdk/lib/_internal/compiler/implementation/types/flat_type_mask.dart#newcode174 sdk/lib/_internal/compiler/implementation/types/flat_type_mask.dart:174: TypeMask union(TypeMask other_, Compiler compiler) { On ...
7 years, 7 months ago (2013-05-22 10:30:05 UTC) #6
ngeoffray
7 years, 7 months ago (2013-05-22 12:43:57 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 manually as r23012 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698