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

Issue 13877005: Fix invalid SSA graph generated by dart2js by using the savedLocals in a do/while (the ones before … (Closed)

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

Description

Fix invalid SSA graph generated by dart2js in a do/while with breaks, by removing locals that do not exist in all breaks. Committed: https://code.google.com/p/dart/source/detail?r=21271

Patch Set 1 : #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -2 lines) Patch
M sdk/lib/_internal/compiler/implementation/ssa/builder.dart View 1 2 chunks +12 lines, -2 lines 0 comments Download
A tests/language/do_while4_test.dart View 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
ngeoffray
7 years, 8 months ago (2013-04-11 11:44:48 UTC) #1
kasperl
LGTM. https://codereview.chromium.org/13877005/diff/4001/sdk/lib/_internal/compiler/implementation/ssa/builder.dart File sdk/lib/_internal/compiler/implementation/ssa/builder.dart (right): https://codereview.chromium.org/13877005/diff/4001/sdk/lib/_internal/compiler/implementation/ssa/builder.dart#newcode642 sdk/lib/_internal/compiler/implementation/ssa/builder.dart:642: } else { else if?
7 years, 8 months ago (2013-04-11 11:49:49 UTC) #2
ngeoffray
Thanks Kasper! https://codereview.chromium.org/13877005/diff/4001/sdk/lib/_internal/compiler/implementation/ssa/builder.dart File sdk/lib/_internal/compiler/implementation/ssa/builder.dart (right): https://codereview.chromium.org/13877005/diff/4001/sdk/lib/_internal/compiler/implementation/ssa/builder.dart#newcode642 sdk/lib/_internal/compiler/implementation/ssa/builder.dart:642: } else { On 2013/04/11 11:49:49, kasperl ...
7 years, 8 months ago (2013-04-11 11:57:48 UTC) #3
ngeoffray
7 years, 8 months ago (2013-04-11 12:10:57 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 manually as r21271 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698