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

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

Issue 11411119: Clean up warnings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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
Index: sdk/lib/_internal/compiler/implementation/ssa/codegen.dart
diff --git a/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart b/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart
index 898a54c865defa32688952085222607adac24cd3..bb85cb3d5ae48dc4b23a9e32e623ca168c1b732b 100644
--- a/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart
+++ b/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart
@@ -951,7 +951,7 @@ abstract class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
generateStatements(info.initializer);
}
js.Block oldContainer = currentContainer;
- js.Statement body = new js.Block.empty();
+ js.Block body = new js.Block.empty();
// If there are phi copies in the block that jumps to the
// loop entry, we must emit the condition like this:
// do {
@@ -964,7 +964,7 @@ abstract class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
// }
// } while (true);
HBasicBlock avoidEdge = info.end.successors[0];
- js.Statement updateBody = new js.Block.empty();
+ js.Block updateBody = new js.Block.empty();
currentContainer = updateBody;
assignPhisOfSuccessors(avoidEdge);
bool hasPhiUpdates = !updateBody.statements.isEmpty;

Powered by Google App Engine
This is Rietveld 408576698