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 11411068: Fix bad assumption of environment builder when it comes to nested loops: blocks inside a loop would… (Closed)

Created:
8 years, 1 month ago by ngeoffray
Modified:
8 years, 1 month ago
Reviewers:
floitsch
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fix bad assumption of environment builder when it comes to nested loops: blocks inside a loop would not get the loop markers of its header. Instead, stack up loop markers when visiting the graph and pop them when being visited. Committed: https://code.google.com/p/dart/source/detail?r=15164

Patch Set 1 #

Total comments: 9

Patch Set 2 : #

Patch Set 3 : #

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

Messages

Total messages: 5 (0 generated)
ngeoffray
8 years, 1 month ago (2012-11-19 16:20:32 UTC) #1
floitsch
LGTM. https://codereview.chromium.org/11411068/diff/1/sdk/lib/_internal/compiler/implementation/ssa/bailout.dart File sdk/lib/_internal/compiler/implementation/ssa/bailout.dart (right): https://codereview.chromium.org/11411068/diff/1/sdk/lib/_internal/compiler/implementation/ssa/bailout.dart#newcode57 sdk/lib/_internal/compiler/implementation/ssa/bailout.dart:57: String toString() => '${loopMarkers.length}'; Remove or make it ...
8 years, 1 month ago (2012-11-20 15:39:31 UTC) #2
ngeoffray
Thanks Florian. https://codereview.chromium.org/11411068/diff/1/sdk/lib/_internal/compiler/implementation/ssa/bailout.dart File sdk/lib/_internal/compiler/implementation/ssa/bailout.dart (right): https://codereview.chromium.org/11411068/diff/1/sdk/lib/_internal/compiler/implementation/ssa/bailout.dart#newcode57 sdk/lib/_internal/compiler/implementation/ssa/bailout.dart:57: String toString() => '${loopMarkers.length}'; On 2012/11/20 15:39:31, ...
8 years, 1 month ago (2012-11-20 16:40:37 UTC) #3
ngeoffray
https://codereview.chromium.org/11411068/diff/1/sdk/lib/_internal/compiler/implementation/ssa/bailout.dart File sdk/lib/_internal/compiler/implementation/ssa/bailout.dart (right): https://codereview.chromium.org/11411068/diff/1/sdk/lib/_internal/compiler/implementation/ssa/bailout.dart#newcode321 sdk/lib/_internal/compiler/implementation/ssa/bailout.dart:321: loopMarkers.removeLast(); On 2012/11/20 16:40:37, ngeoffray wrote: > On 2012/11/20 ...
8 years, 1 month ago (2012-11-20 17:30:45 UTC) #4
floitsch
8 years, 1 month ago (2012-11-20 17:31:32 UTC) #5
Still LGTM.

Powered by Google App Engine
This is Rietveld 408576698