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

Side by Side Diff: runtime/vm/object.cc

Issue 16924005: - Make sure BoundedType and MixinAppType have a name. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/lib/type_patch.dart ('k') | runtime/vm/symbols.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/object.h" 5 #include "vm/object.h"
6 6
7 #include "include/dart_api.h" 7 #include "include/dart_api.h"
8 #include "platform/assert.h" 8 #include "platform/assert.h"
9 #include "vm/assembler.h" 9 #include "vm/assembler.h"
10 #include "vm/cpu.h" 10 #include "vm/cpu.h"
(...skipping 874 matching lines...) Expand 10 before | Expand all | Expand 10 after
885 object_store->set_object_type(type); 885 object_store->set_object_type(type);
886 886
887 cls = object_store->type_class(); 887 cls = object_store->type_class();
888 RegisterPrivateClass(cls, Symbols::Type(), core_lib); 888 RegisterPrivateClass(cls, Symbols::Type(), core_lib);
889 pending_classes.Add(cls, Heap::kOld); 889 pending_classes.Add(cls, Heap::kOld);
890 890
891 cls = object_store->type_parameter_class(); 891 cls = object_store->type_parameter_class();
892 RegisterPrivateClass(cls, Symbols::TypeParameter(), core_lib); 892 RegisterPrivateClass(cls, Symbols::TypeParameter(), core_lib);
893 pending_classes.Add(cls, Heap::kOld); 893 pending_classes.Add(cls, Heap::kOld);
894 894
895 cls = object_store->bounded_type_class();
896 RegisterPrivateClass(cls, Symbols::BoundedType(), core_lib);
897 pending_classes.Add(cls, Heap::kOld);
898
899 cls = object_store->mixin_app_type_class();
900 RegisterPrivateClass(cls, Symbols::MixinAppType(), core_lib);
901 pending_classes.Add(cls, Heap::kOld);
902
895 cls = Class::New<Integer>(); 903 cls = Class::New<Integer>();
896 object_store->set_integer_implementation_class(cls); 904 object_store->set_integer_implementation_class(cls);
897 RegisterPrivateClass(cls, Symbols::IntegerImplementation(), core_lib); 905 RegisterPrivateClass(cls, Symbols::IntegerImplementation(), core_lib);
898 pending_classes.Add(cls, Heap::kOld); 906 pending_classes.Add(cls, Heap::kOld);
899 907
900 cls = Class::New<Smi>(); 908 cls = Class::New<Smi>();
901 object_store->set_smi_class(cls); 909 object_store->set_smi_class(cls);
902 RegisterPrivateClass(cls, Symbols::_Smi(), core_lib); 910 RegisterPrivateClass(cls, Symbols::_Smi(), core_lib);
903 pending_classes.Add(cls, Heap::kOld); 911 pending_classes.Add(cls, Heap::kOld);
904 912
(...skipping 12641 matching lines...) Expand 10 before | Expand all | Expand 10 after
13546 space); 13554 space);
13547 return reinterpret_cast<RawWeakProperty*>(raw); 13555 return reinterpret_cast<RawWeakProperty*>(raw);
13548 } 13556 }
13549 13557
13550 13558
13551 const char* WeakProperty::ToCString() const { 13559 const char* WeakProperty::ToCString() const {
13552 return "_WeakProperty"; 13560 return "_WeakProperty";
13553 } 13561 }
13554 13562
13555 } // namespace dart 13563 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/lib/type_patch.dart ('k') | runtime/vm/symbols.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698