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

Unified Diff: sdk/lib/_internal/compiler/implementation/ssa/builder.dart

Issue 13621003: Fix issue 9664. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tests/language/language_dart2js.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/compiler/implementation/ssa/builder.dart
diff --git a/sdk/lib/_internal/compiler/implementation/ssa/builder.dart b/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
index 462d0b4e96f6796535359a8b17095268046a21b9..5ac2ea4ad88943840d6c849a2c9740a480c7fcbd 100644
--- a/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
+++ b/sdk/lib/_internal/compiler/implementation/ssa/builder.dart
@@ -1982,13 +1982,13 @@ class SsaBuilder extends ResolvedVisitor implements Visitor {
conditionExitBlock.remove(conditionExitBlock.last);
HIfBlockInformation info =
new HIfBlockInformation(
- wrapExpressionGraph(conditionExpression),
- wrapStatementGraph(bodyGraph),
- wrapStatementGraph(elseGraph));
+ wrapExpressionGraph(conditionExpression),
+ wrapStatementGraph(bodyGraph),
+ wrapStatementGraph(elseGraph));
- conditionBlock.setBlockFlow(info, current);
- HIf ifBlock = conditionBlock.last;
- ifBlock.blockInformation = conditionBlock.blockFlow;
+ conditionExitBlock.setBlockFlow(info, current);
+ HIf ifBlock = conditionExitBlock.last;
+ ifBlock.blockInformation = conditionExitBlock.blockFlow;
// If the body has any break, attach a synthesized label to the
// if block.
« no previous file with comments | « no previous file | tests/language/language_dart2js.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698