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

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

Issue 13956006: Remove insertRange. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Replace type with var.wq Created 7 years, 8 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
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 e201af0d29d561e532b325594689818f3e68b88c..7a7352f1437a84d11923cb79ec1dc67ce97b82a3 100644
--- a/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart
+++ b/sdk/lib/_internal/compiler/implementation/ssa/codegen.dart
@@ -261,7 +261,7 @@ abstract class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
}
void insertStatementAtStart(js.Statement statement) {
- currentContainer.statements.insertRange(0, 1, statement);
+ currentContainer.statements.insert(0, statement);
}
/**

Powered by Google App Engine
This is Rietveld 408576698