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

Unified Diff: runtime/vm/parser.cc

Issue 8339015: Rename GrowableObjectArray to ListImplementation. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 9 years, 2 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 | « runtime/lib/list_implementation.dart ('k') | tests/corelib/src/GrowableObjectArray2VMTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/parser.cc
===================================================================
--- runtime/vm/parser.cc (revision 505)
+++ runtime/vm/parser.cc (working copy)
@@ -31,9 +31,9 @@
static const char* kAssertionErrorName = "AssertionError";
static const char* kFallThroughErrorName = "FallThroughError";
static const char* kThrowNewName = "throwNew";
-static const char* kGrowableObjectArrayFromArrayName =
- "GrowableObjectArray._usingArray";
-static const char* kGrowableObjectArrayName = "GrowableObjectArray";
+static const char* kListImplementationFromArrayName =
+ "ListImplementation._usingArray";
+static const char* kListImplementationName = "ListImplementation";
static const char* kMutableMapName = "MutableMap";
static const char* kMutableMapFromLiteralName = "fromLiteral";
static const char* kImmutableMapName = "ImmutableMap";
@@ -6183,13 +6183,13 @@
CaptureReceiver();
}
- // Make a new growable array from the fixed array.
+ // Make a new growable list from the fixed array.
String& growable_object_array_class_name = String::Handle(
- String::NewSymbol(kGrowableObjectArrayName));
+ String::NewSymbol(kListImplementationName));
const Class& growable_array_class = Class::Handle(
LookupImplClass(growable_object_array_class_name));
String& ctor_name =
- String::Handle(String::NewSymbol(kGrowableObjectArrayFromArrayName));
+ String::Handle(String::NewSymbol(kListImplementationFromArrayName));
Function& array_ctor = Function::ZoneHandle(
growable_array_class.LookupConstructor(ctor_name));
ASSERT(!array_ctor.IsNull());
« no previous file with comments | « runtime/lib/list_implementation.dart ('k') | tests/corelib/src/GrowableObjectArray2VMTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698