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

Unified Diff: sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart

Issue 12328104: Change new List(n) to return fixed length list. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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/js_backend/emitter.dart
diff --git a/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart b/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart
index d14e64300650ff6a08b0092477b2de1a7ca25640..49eaa94cadfe730e6c9b5eb1fdc537a75428e7a4 100644
--- a/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart
+++ b/sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart
@@ -650,11 +650,11 @@ class CodeEmitterTask extends CompilerTask {
// The parameters that this stub takes.
List<jsAst.Parameter> parametersBuffer =
- new List<jsAst.Parameter>.fixedLength(
+ new List<jsAst.Parameter>(
floitsch 2013/02/26 13:54:19 probably fits on one line.
Lasse Reichstein Nielsen 2013/02/26 15:26:00 Done.
selector.argumentCount + extraArgumentCount);
// The arguments that will be passed to the real method.
List<jsAst.Expression> argumentsBuffer =
- new List<jsAst.Expression>.fixedLength(
+ new List<jsAst.Expression>(
floitsch 2013/02/26 13:54:19 ditto.
Lasse Reichstein Nielsen 2013/02/26 15:26:00 Doesn't fit.
parameters.parameterCount + extraArgumentCount);
int count = 0;

Powered by Google App Engine
This is Rietveld 408576698