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

Unified Diff: runtime/vm/object.cc

Issue 10990055: Hide VM-only coreimpl List implementation types. These should not be (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: x64 as well, sigh. Created 8 years, 3 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: runtime/vm/object.cc
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
index 1bbd7a64850c0351663df01c87f6cab643066037..0e9887642af263149c28e8840d37a8c5aa670f95 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -589,12 +589,12 @@ RawError* Object::Init(Isolate* isolate) {
cls = object_store->array_class(); // Was allocated above.
name = Symbols::ObjectArray();
- RegisterClass(cls, name, core_impl_lib);
+ RegisterPrivateClass(cls, name, core_impl_lib);
pending_classes.Add(cls, Heap::kOld);
cls = object_store->growable_object_array_class(); // Was allocated above.
name = Symbols::GrowableObjectArray();
- RegisterClass(cls, name, core_impl_lib);
+ RegisterPrivateClass(cls, name, core_impl_lib);
pending_classes.Add(cls, Heap::kOld);
cls = Class::New<ImmutableArray>();
@@ -602,7 +602,7 @@ RawError* Object::Init(Isolate* isolate) {
cls.set_type_arguments_instance_field_offset(Array::type_arguments_offset());
ASSERT(object_store->immutable_array_class() != object_store->array_class());
name = Symbols::ImmutableArray();
- RegisterClass(cls, name, core_impl_lib);
+ RegisterPrivateClass(cls, name, core_impl_lib);
pending_classes.Add(cls, Heap::kOld);
cls = object_store->one_byte_string_class(); // Was allocated above.

Powered by Google App Engine
This is Rietveld 408576698