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

Issue 10907028: Standalone concrete type inference (not integrated in the compiler). (Closed)

Created:
8 years, 3 months ago by polux
Modified:
8 years, 2 months ago
Reviewers:
karlklose, ahe
CC:
reviews_dartlang.org, ahe
Visibility:
Public.

Description

Standalone concrete type inference (not integrated in the compiler). Committed: https://code.google.com/p/dart/source/detail?r=13215

Patch Set 1 #

Patch Set 2 : Sync with last changes in CL 10905039 #

Patch Set 3 : Address Karl's comment in CL 10829376. #

Total comments: 75

Patch Set 4 : Address Karl's comments #

Patch Set 5 : sync to head and address Karl's comments #

Patch Set 6 : sync to head #

Patch Set 7 : fix tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1547 lines, -0 lines) Patch
A lib/compiler/implementation/types/concrete_types_inferrer.dart View 1 2 3 4 1 chunk +1227 lines, -0 lines 0 comments Download
M lib/compiler/implementation/types/types.dart View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
A tests/compiler/dart2js/cpa_inference_test.dart View 1 2 3 4 5 6 1 chunk +317 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
polux
The function "AnalysisResult analyze(String code)" of the test file is a bit more complex than ...
8 years, 3 months ago (2012-08-31 14:39:46 UTC) #1
karlklose
LGTM. http://codereview.chromium.org/10907028/diff/6001/lib/compiler/implementation/types/concrete_types_inferrer.dart File lib/compiler/implementation/types/concrete_types_inferrer.dart (right): http://codereview.chromium.org/10907028/diff/6001/lib/compiler/implementation/types/concrete_types_inferrer.dart#newcode13 lib/compiler/implementation/types/concrete_types_inferrer.dart:13: * A non-abstract type like [: int :], ...
8 years, 3 months ago (2012-09-11 14:41:33 UTC) #2
polux
Peter: as discussed I'm adding you as a reviewer in case you find the time ...
8 years, 3 months ago (2012-09-20 15:46:41 UTC) #3
karlklose
http://codereview.chromium.org/10907028/diff/6001/lib/compiler/implementation/types/concrete_types_inferrer.dart File lib/compiler/implementation/types/concrete_types_inferrer.dart (right): http://codereview.chromium.org/10907028/diff/6001/lib/compiler/implementation/types/concrete_types_inferrer.dart#newcode28 lib/compiler/implementation/types/concrete_types_inferrer.dart:28: bool operator ==(BaseType other) { Yes, you are right. ...
8 years, 2 months ago (2012-09-26 11:48:52 UTC) #4
polux
8 years, 2 months ago (2012-09-28 07:57:30 UTC) #5
http://codereview.chromium.org/10907028/diff/6001/lib/compiler/implementation...
File lib/compiler/implementation/types/concrete_types_inferrer.dart (right):

http://codereview.chromium.org/10907028/diff/6001/lib/compiler/implementation...
lib/compiler/implementation/types/concrete_types_inferrer.dart:651: new
ConcreteType.singleton(const NullBaseType());
On 2012/09/26 11:48:52, karlklose wrote:
> No problem, maybe add a TODO?

Done.

http://codereview.chromium.org/10907028/diff/6001/lib/compiler/implementation...
lib/compiler/implementation/types/concrete_types_inferrer.dart:657:
ConcreteTypesEnvironment environment) {
On 2012/09/26 11:48:52, karlklose wrote:
> I prefer the new version, because I think it is harder to overlook the first
> parameter, but feel free to follow the style guide here.

I'm fine with this version too!

Powered by Google App Engine
This is Rietveld 408576698