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

Issue 15818003: - Inline iterator calls made for a "for in". (Closed)

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

Description

- Inline iterator calls made for a "for in". - Remove inlining restriction for recursive calls. R=kasperl@google.com Committed: https://code.google.com/p/dart/source/detail?r=23253

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+140 lines, -61 lines) Patch
M sdk/lib/_internal/compiler/implementation/resolution/members.dart View 3 chunks +34 lines, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/resolution/secret_tree_element.dart View 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/compiler/implementation/ssa/builder.dart View 12 chunks +23 lines, -37 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart View 1 2 3 chunks +47 lines, -19 lines 0 comments Download
M tests/compiler/dart2js/field_type_simple_inferer_test.dart View 1 2 chunks +6 lines, -4 lines 0 comments Download
A tests/language/for_in_side_effects_test.dart View 1 1 chunk +29 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
ngeoffray
7 years, 6 months ago (2013-05-28 10:11:24 UTC) #1
kasperl
LGTM with a comment: https://codereview.chromium.org/15818003/diff/1/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart File sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart (right): https://codereview.chromium.org/15818003/diff/1/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart#newcode2472 sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart:2472: checkIfExposesThis(new TypedSelector(iteratorType, moveNextSelector)); If calling ...
7 years, 6 months ago (2013-05-28 10:31:34 UTC) #2
ngeoffray
Thanks Kasper. https://codereview.chromium.org/15818003/diff/1/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart File sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart (right): https://codereview.chromium.org/15818003/diff/1/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart#newcode2472 sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart:2472: checkIfExposesThis(new TypedSelector(iteratorType, moveNextSelector)); On 2013/05/28 10:31:34, kasperl ...
7 years, 6 months ago (2013-05-28 10:41:38 UTC) #3
ngeoffray
Kasper, could you PTAL? I improved the types used in a forin, to give the ...
7 years, 6 months ago (2013-05-28 11:40:19 UTC) #4
kasperl
LGTM! https://codereview.chromium.org/15818003/diff/16001/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart File sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart (right): https://codereview.chromium.org/15818003/diff/16001/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart#newcode2477 sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart:2477: // this. .... so we play it safe ...
7 years, 6 months ago (2013-05-28 11:48:40 UTC) #5
ngeoffray
Committed patchset #3 manually as r23253 (presubmit successful).
7 years, 6 months ago (2013-05-28 11:50:48 UTC) #6
ngeoffray
7 years, 6 months ago (2013-05-28 11:50:57 UTC) #7
Message was sent while issue was closed.
Thanks Kasper.

https://codereview.chromium.org/15818003/diff/16001/sdk/lib/_internal/compile...
File sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart
(right):

https://codereview.chromium.org/15818003/diff/16001/sdk/lib/_internal/compile...
sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart:2477:
// this.
On 2013/05/28 11:48:40, kasperl wrote:
> .... so we play it safe and assume it will.

Done.

Powered by Google App Engine
This is Rietveld 408576698