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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 | 104 |
105 RawClass* mint_class() const { return mint_class_; } | 105 RawClass* mint_class() const { return mint_class_; } |
106 void set_mint_class(const Class& value) { mint_class_ = value.raw(); } | 106 void set_mint_class(const Class& value) { mint_class_ = value.raw(); } |
107 | 107 |
108 RawType* mint_type() const { return mint_type_; } | 108 RawType* mint_type() const { return mint_type_; } |
109 void set_mint_type(const Type& value) { mint_type_ = value.raw(); } | 109 void set_mint_type(const Type& value) { mint_type_ = value.raw(); } |
110 | 110 |
111 RawClass* bigint_class() const { return bigint_class_; } | 111 RawClass* bigint_class() const { return bigint_class_; } |
112 void set_bigint_class(const Class& value) { bigint_class_ = value.raw(); } | 112 void set_bigint_class(const Class& value) { bigint_class_ = value.raw(); } |
113 | 113 |
| 114 RawClass* fraction_class() const { return fraction_class_; } |
| 115 void set_fraction_class(const Class& value) { fraction_class_ = value.raw(); } |
| 116 |
114 RawType* string_type() const { return string_type_; } | 117 RawType* string_type() const { return string_type_; } |
115 void set_string_type(const Type& value) { | 118 void set_string_type(const Type& value) { |
116 string_type_ = value.raw(); | 119 string_type_ = value.raw(); |
117 } | 120 } |
118 | 121 |
119 RawClass* future_class() const { return future_class_; } | 122 RawClass* future_class() const { return future_class_; } |
120 void set_future_class(const Class& value) { | 123 void set_future_class(const Class& value) { |
121 future_class_ = value.raw(); | 124 future_class_ = value.raw(); |
122 } | 125 } |
123 | 126 |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 return OFFSET_OF(ObjectStore, error_class_); | 240 return OFFSET_OF(ObjectStore, error_class_); |
238 } | 241 } |
239 | 242 |
240 RawClass* weak_property_class() const { | 243 RawClass* weak_property_class() const { |
241 return weak_property_class_; | 244 return weak_property_class_; |
242 } | 245 } |
243 void set_weak_property_class(const Class& value) { | 246 void set_weak_property_class(const Class& value) { |
244 weak_property_class_ = value.raw(); | 247 weak_property_class_ = value.raw(); |
245 } | 248 } |
246 | 249 |
| 250 RawClass* byte_buffer_class() const { return byte_buffer_class_; } |
| 251 void set_byte_buffer_class(const Class& value) { |
| 252 byte_buffer_class_ = value.raw(); |
| 253 } |
| 254 |
247 RawArray* symbol_table() const { return symbol_table_; } | 255 RawArray* symbol_table() const { return symbol_table_; } |
248 void set_symbol_table(const Array& value) { symbol_table_ = value.raw(); } | 256 void set_symbol_table(const Array& value) { symbol_table_ = value.raw(); } |
249 | 257 |
250 RawArray* canonical_types() const { | 258 RawArray* canonical_types() const { |
251 return canonical_types_; | 259 return canonical_types_; |
252 } | 260 } |
253 void set_canonical_types(const Array& value) { | 261 void set_canonical_types(const Array& value) { |
254 canonical_types_ = value.raw(); | 262 canonical_types_ = value.raw(); |
255 } | 263 } |
256 | 264 |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
506 V(RawType*, number_type_) \ | 514 V(RawType*, number_type_) \ |
507 V(RawType*, int_type_) \ | 515 V(RawType*, int_type_) \ |
508 V(RawClass*, integer_implementation_class_) \ | 516 V(RawClass*, integer_implementation_class_) \ |
509 V(RawClass*, smi_class_) \ | 517 V(RawClass*, smi_class_) \ |
510 V(RawType*, smi_type_) \ | 518 V(RawType*, smi_type_) \ |
511 V(RawClass*, mint_class_) \ | 519 V(RawClass*, mint_class_) \ |
512 V(RawType*, mint_type_) \ | 520 V(RawType*, mint_type_) \ |
513 V(RawClass*, bigint_class_) \ | 521 V(RawClass*, bigint_class_) \ |
514 V(RawClass*, double_class_) \ | 522 V(RawClass*, double_class_) \ |
515 V(RawType*, double_type_) \ | 523 V(RawType*, double_type_) \ |
| 524 V(RawClass*, fraction_class_) \ |
516 V(RawType*, float32x4_type_) \ | 525 V(RawType*, float32x4_type_) \ |
517 V(RawType*, int32x4_type_) \ | 526 V(RawType*, int32x4_type_) \ |
518 V(RawType*, float64x2_type_) \ | 527 V(RawType*, float64x2_type_) \ |
519 V(RawType*, string_type_) \ | 528 V(RawType*, string_type_) \ |
520 V(RawClass*, future_class_) \ | 529 V(RawClass*, future_class_) \ |
521 V(RawClass*, completer_class_) \ | 530 V(RawClass*, completer_class_) \ |
522 V(RawClass*, stream_iterator_class_) \ | 531 V(RawClass*, stream_iterator_class_) \ |
523 V(RawClass*, symbol_class_) \ | 532 V(RawClass*, symbol_class_) \ |
524 V(RawClass*, one_byte_string_class_) \ | 533 V(RawClass*, one_byte_string_class_) \ |
525 V(RawClass*, two_byte_string_class_) \ | 534 V(RawClass*, two_byte_string_class_) \ |
526 V(RawClass*, external_one_byte_string_class_) \ | 535 V(RawClass*, external_one_byte_string_class_) \ |
527 V(RawClass*, external_two_byte_string_class_) \ | 536 V(RawClass*, external_two_byte_string_class_) \ |
528 V(RawType*, bool_type_) \ | 537 V(RawType*, bool_type_) \ |
529 V(RawClass*, bool_class_) \ | 538 V(RawClass*, bool_class_) \ |
530 V(RawClass*, array_class_) \ | 539 V(RawClass*, array_class_) \ |
531 V(RawType*, array_type_) \ | 540 V(RawType*, array_type_) \ |
532 V(RawClass*, immutable_array_class_) \ | 541 V(RawClass*, immutable_array_class_) \ |
533 V(RawClass*, growable_object_array_class_) \ | 542 V(RawClass*, growable_object_array_class_) \ |
534 V(RawClass*, linked_hash_map_class_) \ | 543 V(RawClass*, linked_hash_map_class_) \ |
535 V(RawClass*, float32x4_class_) \ | 544 V(RawClass*, float32x4_class_) \ |
536 V(RawClass*, int32x4_class_) \ | 545 V(RawClass*, int32x4_class_) \ |
537 V(RawClass*, float64x2_class_) \ | 546 V(RawClass*, float64x2_class_) \ |
538 V(RawClass*, error_class_) \ | 547 V(RawClass*, error_class_) \ |
539 V(RawClass*, weak_property_class_) \ | 548 V(RawClass*, weak_property_class_) \ |
| 549 V(RawClass*, byte_buffer_class_) \ |
540 V(RawArray*, symbol_table_) \ | 550 V(RawArray*, symbol_table_) \ |
541 V(RawArray*, canonical_types_) \ | 551 V(RawArray*, canonical_types_) \ |
542 V(RawArray*, canonical_type_arguments_) \ | 552 V(RawArray*, canonical_type_arguments_) \ |
543 V(RawLibrary*, async_library_) \ | 553 V(RawLibrary*, async_library_) \ |
544 V(RawLibrary*, builtin_library_) \ | 554 V(RawLibrary*, builtin_library_) \ |
545 V(RawLibrary*, core_library_) \ | 555 V(RawLibrary*, core_library_) \ |
546 V(RawLibrary*, collection_library_) \ | 556 V(RawLibrary*, collection_library_) \ |
547 V(RawLibrary*, convert_library_) \ | 557 V(RawLibrary*, convert_library_) \ |
548 V(RawLibrary*, developer_library_) \ | 558 V(RawLibrary*, developer_library_) \ |
549 V(RawLibrary*, internal_library_) \ | 559 V(RawLibrary*, internal_library_) \ |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
606 | 616 |
607 friend class Serializer; | 617 friend class Serializer; |
608 friend class Deserializer; | 618 friend class Deserializer; |
609 | 619 |
610 DISALLOW_COPY_AND_ASSIGN(ObjectStore); | 620 DISALLOW_COPY_AND_ASSIGN(ObjectStore); |
611 }; | 621 }; |
612 | 622 |
613 } // namespace dart | 623 } // namespace dart |
614 | 624 |
615 #endif // VM_OBJECT_STORE_H_ | 625 #endif // VM_OBJECT_STORE_H_ |
OLD | NEW |