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

Issue 13866010: Correctly compile unresolved for-in loops. (Closed)

Created:
7 years, 8 months ago by ahe
Modified:
7 years, 8 months ago
CC:
reviews_dartlang.org, Emily Fortuna
Visibility:
Public.

Description

Correctly compile unresolved for-in loops. BUG=http://dartbug.com/6725 Committed: https://code.google.com/p/dart/source/detail?r=21342

Patch Set 1 #

Patch Set 2 : Added unit test #

Total comments: 11

Patch Set 3 : Additional problems found during testing. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+391 lines, -183 lines) Patch
M dart/pkg/pkg.status View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M dart/sdk/lib/_internal/compiler/implementation/closure.dart View 1 2 4 chunks +15 lines, -0 lines 0 comments Download
M dart/sdk/lib/_internal/compiler/implementation/compiler.dart View 1 chunk +8 lines, -0 lines 0 comments Download
M dart/sdk/lib/_internal/compiler/implementation/elements/elements.dart View 1 2 2 chunks +14 lines, -1 line 0 comments Download
M dart/sdk/lib/_internal/compiler/implementation/elements/modelx.dart View 1 2 1 chunk +0 lines, -9 lines 0 comments Download
M dart/sdk/lib/_internal/compiler/implementation/resolution/members.dart View 1 2 4 chunks +54 lines, -56 lines 0 comments Download
M dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart View 1 2 3 chunks +38 lines, -26 lines 1 comment Download
M dart/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart View 1 2 6 chunks +67 lines, -54 lines 0 comments Download
M dart/tests/co19/co19-dart2js.status View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
A dart/tests/compiler/dart2js/bad_loop_test.dart View 1 2 1 chunk +66 lines, -0 lines 0 comments Download
M dart/tests/compiler/dart2js/deferred_load_graph_segmentation_test.dart View 1 1 chunk +2 lines, -30 lines 0 comments Download
A dart/tests/compiler/dart2js/memory_source_file_helper.dart View 1 1 chunk +41 lines, -0 lines 0 comments Download
M dart/tests/compiler/dart2js/mock_compiler.dart View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
A dart/tests/language/crash_6725_test.dart View 1 2 1 chunk +71 lines, -0 lines 0 comments Download
M dart/tests/lib/lib.status View 1 2 1 chunk +1 line, -1 line 0 comments Download
M dart/tools/test.dart View 1 2 3 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
ahe
This fixes a crash was reported in November.
7 years, 8 months ago (2013-04-09 14:02:53 UTC) #1
ahe
Added a unit test.
7 years, 8 months ago (2013-04-09 14:29:22 UTC) #2
Emily Fortuna
glad to see this fixed!! https://codereview.chromium.org/13866010/diff/3001/dart/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart File dart/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart (right): https://codereview.chromium.org/13866010/diff/3001/dart/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart#newcode1536 dart/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart:1536: return handlePlainAssignment(node, element, setterSelector, ...
7 years, 8 months ago (2013-04-09 16:48:21 UTC) #3
kasperl
STV! https://codereview.chromium.org/13866010/diff/3001/dart/sdk/lib/_internal/compiler/implementation/compiler.dart File dart/sdk/lib/_internal/compiler/implementation/compiler.dart (right): https://codereview.chromium.org/13866010/diff/3001/dart/sdk/lib/_internal/compiler/implementation/compiler.dart#newcode388 dart/sdk/lib/_internal/compiler/implementation/compiler.dart:388: final Selector iteratorSelector = Nice. https://codereview.chromium.org/13866010/diff/3001/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart File dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart ...
7 years, 8 months ago (2013-04-10 08:34:54 UTC) #4
ahe
PTAL, unfortunately, I had to merge with tip-of-tree to resolve a test failure, so the ...
7 years, 8 months ago (2013-04-10 15:02:18 UTC) #5
ahe
Ping
7 years, 8 months ago (2013-04-12 07:29:43 UTC) #6
kasperl
Still LGTM. https://codereview.chromium.org/13866010/diff/10001/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart File dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart (right): https://codereview.chromium.org/13866010/diff/10001/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart#newcode4075 dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart:4075: argumentValues: <HInstruction>[oldVariable]); Long line.
7 years, 8 months ago (2013-04-12 07:33:48 UTC) #7
ahe
7 years, 8 months ago (2013-04-12 10:20:11 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 manually as r21342 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698