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

Issue 19784005: Cleanup in the type inferrer. (Closed)

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

Description

Cleanup in the type inferrer. - Simplify inferencing of boxed variables. They are now inferred the same way as fields. - Move the code to handle field initialization into its own class. - Only track field initializations in generative constructors. R=ahe@google.com Committed: https://code.google.com/p/dart/source/detail?r=25338

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+185 lines, -162 lines) Patch
M sdk/lib/_internal/compiler/implementation/types/container_tracer.dart View 1 17 chunks +26 lines, -27 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/types/inferrer_visitor.dart View 14 chunks +104 lines, -98 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart View 1 2 19 chunks +33 lines, -29 lines 0 comments Download
M tests/compiler/dart2js/simple_inferrer_closure_test.dart View 6 chunks +22 lines, -8 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
ngeoffray
7 years, 5 months ago (2013-07-23 09:15:07 UTC) #1
ahe
lgtm https://codereview.chromium.org/19784005/diff/1/sdk/lib/_internal/compiler/implementation/types/inferrer_visitor.dart File sdk/lib/_internal/compiler/implementation/types/inferrer_visitor.dart (right): https://codereview.chromium.org/19784005/diff/1/sdk/lib/_internal/compiler/implementation/types/inferrer_visitor.dart#newcode239 sdk/lib/_internal/compiler/implementation/types/inferrer_visitor.dart:239: toRemove.forEach((Element element) { fields.remove(element); }); Alternatively, model them ...
7 years, 5 months ago (2013-07-23 09:52:13 UTC) #2
ngeoffray
Thanks Peter https://codereview.chromium.org/19784005/diff/1/sdk/lib/_internal/compiler/implementation/types/inferrer_visitor.dart File sdk/lib/_internal/compiler/implementation/types/inferrer_visitor.dart (right): https://codereview.chromium.org/19784005/diff/1/sdk/lib/_internal/compiler/implementation/types/inferrer_visitor.dart#newcode239 sdk/lib/_internal/compiler/implementation/types/inferrer_visitor.dart:239: toRemove.forEach((Element element) { fields.remove(element); }); On 2013/07/23 ...
7 years, 5 months ago (2013-07-23 09:57:29 UTC) #3
ngeoffray
7 years, 5 months ago (2013-07-23 10:59:25 UTC) #4
Message was sent while issue was closed.
Committed patchset #3 manually as r25338 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698