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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 RawClass* type_parameter_class() const { return type_parameter_class_; } | 61 RawClass* type_parameter_class() const { return type_parameter_class_; } |
62 void set_type_parameter_class(const Class& value) { | 62 void set_type_parameter_class(const Class& value) { |
63 type_parameter_class_ = value.raw(); | 63 type_parameter_class_ = value.raw(); |
64 } | 64 } |
65 | 65 |
66 RawClass* bounded_type_class() const { return bounded_type_class_; } | 66 RawClass* bounded_type_class() const { return bounded_type_class_; } |
67 void set_bounded_type_class(const Class& value) { | 67 void set_bounded_type_class(const Class& value) { |
68 bounded_type_class_ = value.raw(); | 68 bounded_type_class_ = value.raw(); |
69 } | 69 } |
70 | 70 |
| 71 RawClass* mixin_app_type_class() const { return mixin_app_type_class_; } |
| 72 void set_mixin_app_type_class(const Class& value) { |
| 73 mixin_app_type_class_ = value.raw(); |
| 74 } |
| 75 |
71 RawType* number_type() const { return number_type_; } | 76 RawType* number_type() const { return number_type_; } |
72 void set_number_type(const Type& value) { | 77 void set_number_type(const Type& value) { |
73 number_type_ = value.raw(); | 78 number_type_ = value.raw(); |
74 } | 79 } |
75 | 80 |
76 RawType* int_type() const { return int_type_; } | 81 RawType* int_type() const { return int_type_; } |
77 void set_int_type(const Type& value) { | 82 void set_int_type(const Type& value) { |
78 int_type_ = value.raw(); | 83 int_type_ = value.raw(); |
79 } | 84 } |
80 | 85 |
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
594 RawObject** from() { return reinterpret_cast<RawObject**>(&object_class_); } | 599 RawObject** from() { return reinterpret_cast<RawObject**>(&object_class_); } |
595 RawClass* object_class_; | 600 RawClass* object_class_; |
596 RawType* object_type_; | 601 RawType* object_type_; |
597 RawType* null_type_; | 602 RawType* null_type_; |
598 RawType* dynamic_type_; | 603 RawType* dynamic_type_; |
599 RawType* void_type_; | 604 RawType* void_type_; |
600 RawType* function_type_; | 605 RawType* function_type_; |
601 RawClass* type_class_; | 606 RawClass* type_class_; |
602 RawClass* type_parameter_class_; | 607 RawClass* type_parameter_class_; |
603 RawClass* bounded_type_class_; | 608 RawClass* bounded_type_class_; |
| 609 RawClass* mixin_app_type_class_; |
604 RawType* number_type_; | 610 RawType* number_type_; |
605 RawType* int_type_; | 611 RawType* int_type_; |
606 RawClass* integer_implementation_class_; | 612 RawClass* integer_implementation_class_; |
607 RawClass* smi_class_; | 613 RawClass* smi_class_; |
608 RawType* smi_type_; | 614 RawType* smi_type_; |
609 RawClass* mint_class_; | 615 RawClass* mint_class_; |
610 RawType* mint_type_; | 616 RawType* mint_type_; |
611 RawClass* bigint_class_; | 617 RawClass* bigint_class_; |
612 RawClass* double_class_; | 618 RawClass* double_class_; |
613 RawType* double_type_; | 619 RawType* double_type_; |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
687 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } | 693 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } |
688 | 694 |
689 friend class SnapshotReader; | 695 friend class SnapshotReader; |
690 | 696 |
691 DISALLOW_COPY_AND_ASSIGN(ObjectStore); | 697 DISALLOW_COPY_AND_ASSIGN(ObjectStore); |
692 }; | 698 }; |
693 | 699 |
694 } // namespace dart | 700 } // namespace dart |
695 | 701 |
696 #endif // VM_OBJECT_STORE_H_ | 702 #endif // VM_OBJECT_STORE_H_ |
OLD | NEW |