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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 RawType* string_type() const { return string_type_; } | 114 RawType* string_type() const { return string_type_; } |
115 void set_string_type(const Type& value) { | 115 void set_string_type(const Type& value) { |
116 string_type_ = value.raw(); | 116 string_type_ = value.raw(); |
117 } | 117 } |
118 | 118 |
| 119 RawClass* compiletime_error_class() const { |
| 120 return compiletime_error_class_; |
| 121 } |
| 122 void set_compiletime_error_class(const Class& value) { |
| 123 compiletime_error_class_ = value.raw(); |
| 124 } |
| 125 |
119 RawClass* future_class() const { return future_class_; } | 126 RawClass* future_class() const { return future_class_; } |
120 void set_future_class(const Class& value) { | 127 void set_future_class(const Class& value) { |
121 future_class_ = value.raw(); | 128 future_class_ = value.raw(); |
122 } | 129 } |
123 | 130 |
124 RawClass* completer_class() const { return completer_class_; } | 131 RawClass* completer_class() const { return completer_class_; } |
125 void set_completer_class(const Class& value) { | 132 void set_completer_class(const Class& value) { |
126 completer_class_ = value.raw(); | 133 completer_class_ = value.raw(); |
127 } | 134 } |
128 | 135 |
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
525 V(RawType*, smi_type_) \ | 532 V(RawType*, smi_type_) \ |
526 V(RawClass*, mint_class_) \ | 533 V(RawClass*, mint_class_) \ |
527 V(RawType*, mint_type_) \ | 534 V(RawType*, mint_type_) \ |
528 V(RawClass*, bigint_class_) \ | 535 V(RawClass*, bigint_class_) \ |
529 V(RawClass*, double_class_) \ | 536 V(RawClass*, double_class_) \ |
530 V(RawType*, double_type_) \ | 537 V(RawType*, double_type_) \ |
531 V(RawType*, float32x4_type_) \ | 538 V(RawType*, float32x4_type_) \ |
532 V(RawType*, int32x4_type_) \ | 539 V(RawType*, int32x4_type_) \ |
533 V(RawType*, float64x2_type_) \ | 540 V(RawType*, float64x2_type_) \ |
534 V(RawType*, string_type_) \ | 541 V(RawType*, string_type_) \ |
| 542 V(RawClass*, compiletime_error_class_) \ |
535 V(RawClass*, future_class_) \ | 543 V(RawClass*, future_class_) \ |
536 V(RawClass*, completer_class_) \ | 544 V(RawClass*, completer_class_) \ |
537 V(RawClass*, stream_iterator_class_) \ | 545 V(RawClass*, stream_iterator_class_) \ |
538 V(RawClass*, symbol_class_) \ | 546 V(RawClass*, symbol_class_) \ |
539 V(RawClass*, one_byte_string_class_) \ | 547 V(RawClass*, one_byte_string_class_) \ |
540 V(RawClass*, two_byte_string_class_) \ | 548 V(RawClass*, two_byte_string_class_) \ |
541 V(RawClass*, external_one_byte_string_class_) \ | 549 V(RawClass*, external_one_byte_string_class_) \ |
542 V(RawClass*, external_two_byte_string_class_) \ | 550 V(RawClass*, external_two_byte_string_class_) \ |
543 V(RawType*, bool_type_) \ | 551 V(RawType*, bool_type_) \ |
544 V(RawClass*, bool_class_) \ | 552 V(RawClass*, bool_class_) \ |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
625 | 633 |
626 friend class Serializer; | 634 friend class Serializer; |
627 friend class Deserializer; | 635 friend class Deserializer; |
628 | 636 |
629 DISALLOW_COPY_AND_ASSIGN(ObjectStore); | 637 DISALLOW_COPY_AND_ASSIGN(ObjectStore); |
630 }; | 638 }; |
631 | 639 |
632 } // namespace dart | 640 } // namespace dart |
633 | 641 |
634 #endif // VM_OBJECT_STORE_H_ | 642 #endif // VM_OBJECT_STORE_H_ |
OLD | NEW |