| 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());
|
|
|