OLD | NEW |
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 #ifndef VM_OBJECT_STORE_H_ | 5 #ifndef VM_OBJECT_STORE_H_ |
6 #define VM_OBJECT_STORE_H_ | 6 #define VM_OBJECT_STORE_H_ |
7 | 7 |
8 #include "vm/object.h" | 8 #include "vm/object.h" |
9 | 9 |
10 namespace dart { | 10 namespace dart { |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 RawClass* weak_property_class() const { | 240 RawClass* weak_property_class() const { |
241 return weak_property_class_; | 241 return weak_property_class_; |
242 } | 242 } |
243 void set_weak_property_class(const Class& value) { | 243 void set_weak_property_class(const Class& value) { |
244 weak_property_class_ = value.raw(); | 244 weak_property_class_ = value.raw(); |
245 } | 245 } |
246 | 246 |
247 RawArray* symbol_table() const { return symbol_table_; } | 247 RawArray* symbol_table() const { return symbol_table_; } |
248 void set_symbol_table(const Array& value) { symbol_table_ = value.raw(); } | 248 void set_symbol_table(const Array& value) { symbol_table_ = value.raw(); } |
249 | 249 |
| 250 RawArray* canonical_types() const { |
| 251 return canonical_types_; |
| 252 } |
| 253 void set_canonical_types(const Array& value) { |
| 254 canonical_types_ = value.raw(); |
| 255 } |
| 256 |
250 RawArray* canonical_type_arguments() const { | 257 RawArray* canonical_type_arguments() const { |
251 return canonical_type_arguments_; | 258 return canonical_type_arguments_; |
252 } | 259 } |
253 void set_canonical_type_arguments(const Array& value) { | 260 void set_canonical_type_arguments(const Array& value) { |
254 canonical_type_arguments_ = value.raw(); | 261 canonical_type_arguments_ = value.raw(); |
255 } | 262 } |
256 | 263 |
257 RawLibrary* async_library() const { return async_library_; } | 264 RawLibrary* async_library() const { return async_library_; } |
258 RawLibrary* builtin_library() const { return builtin_library_; } | 265 RawLibrary* builtin_library() const { return builtin_library_; } |
259 RawLibrary* core_library() const { return core_library_; } | 266 RawLibrary* core_library() const { return core_library_; } |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
529 RawType* array_type_; | 536 RawType* array_type_; |
530 RawClass* immutable_array_class_; | 537 RawClass* immutable_array_class_; |
531 RawClass* growable_object_array_class_; | 538 RawClass* growable_object_array_class_; |
532 RawClass* linked_hash_map_class_; | 539 RawClass* linked_hash_map_class_; |
533 RawClass* float32x4_class_; | 540 RawClass* float32x4_class_; |
534 RawClass* int32x4_class_; | 541 RawClass* int32x4_class_; |
535 RawClass* float64x2_class_; | 542 RawClass* float64x2_class_; |
536 RawClass* error_class_; | 543 RawClass* error_class_; |
537 RawClass* weak_property_class_; | 544 RawClass* weak_property_class_; |
538 RawArray* symbol_table_; | 545 RawArray* symbol_table_; |
| 546 RawArray* canonical_types_; |
539 RawArray* canonical_type_arguments_; | 547 RawArray* canonical_type_arguments_; |
540 RawLibrary* async_library_; | 548 RawLibrary* async_library_; |
541 RawLibrary* builtin_library_; | 549 RawLibrary* builtin_library_; |
542 RawLibrary* core_library_; | 550 RawLibrary* core_library_; |
543 RawLibrary* collection_library_; | 551 RawLibrary* collection_library_; |
544 RawLibrary* convert_library_; | 552 RawLibrary* convert_library_; |
545 RawLibrary* developer_library_; | 553 RawLibrary* developer_library_; |
546 RawLibrary* internal_library_; | 554 RawLibrary* internal_library_; |
547 RawLibrary* isolate_library_; | 555 RawLibrary* isolate_library_; |
548 RawLibrary* math_library_; | 556 RawLibrary* math_library_; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
599 friend class FullSnapshotWriter; | 607 friend class FullSnapshotWriter; |
600 friend class SnapshotReader; | 608 friend class SnapshotReader; |
601 friend class VmIsolateSnapshotReader; | 609 friend class VmIsolateSnapshotReader; |
602 | 610 |
603 DISALLOW_COPY_AND_ASSIGN(ObjectStore); | 611 DISALLOW_COPY_AND_ASSIGN(ObjectStore); |
604 }; | 612 }; |
605 | 613 |
606 } // namespace dart | 614 } // namespace dart |
607 | 615 |
608 #endif // VM_OBJECT_STORE_H_ | 616 #endif // VM_OBJECT_STORE_H_ |
OLD | NEW |