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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 } | 56 } |
57 | 57 |
58 RawClass* type_class() const { return type_class_; } | 58 RawClass* type_class() const { return type_class_; } |
59 void set_type_class(const Class& value) { type_class_ = value.raw(); } | 59 void set_type_class(const Class& value) { type_class_ = value.raw(); } |
60 | 60 |
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_; } |
| 67 void set_bounded_type_class(const Class& value) { |
| 68 bounded_type_class_ = value.raw(); |
| 69 } |
| 70 |
66 RawType* number_type() const { return number_type_; } | 71 RawType* number_type() const { return number_type_; } |
67 void set_number_type(const Type& value) { | 72 void set_number_type(const Type& value) { |
68 number_type_ = value.raw(); | 73 number_type_ = value.raw(); |
69 } | 74 } |
70 | 75 |
71 RawType* int_type() const { return int_type_; } | 76 RawType* int_type() const { return int_type_; } |
72 void set_int_type(const Type& value) { | 77 void set_int_type(const Type& value) { |
73 int_type_ = value.raw(); | 78 int_type_ = value.raw(); |
74 } | 79 } |
75 | 80 |
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
581 | 586 |
582 RawObject** from() { return reinterpret_cast<RawObject**>(&object_class_); } | 587 RawObject** from() { return reinterpret_cast<RawObject**>(&object_class_); } |
583 RawClass* object_class_; | 588 RawClass* object_class_; |
584 RawType* object_type_; | 589 RawType* object_type_; |
585 RawType* null_type_; | 590 RawType* null_type_; |
586 RawType* dynamic_type_; | 591 RawType* dynamic_type_; |
587 RawType* void_type_; | 592 RawType* void_type_; |
588 RawType* function_type_; | 593 RawType* function_type_; |
589 RawClass* type_class_; | 594 RawClass* type_class_; |
590 RawClass* type_parameter_class_; | 595 RawClass* type_parameter_class_; |
| 596 RawClass* bounded_type_class_; |
591 RawType* number_type_; | 597 RawType* number_type_; |
592 RawType* int_type_; | 598 RawType* int_type_; |
593 RawClass* integer_implementation_class_; | 599 RawClass* integer_implementation_class_; |
594 RawClass* smi_class_; | 600 RawClass* smi_class_; |
595 RawType* smi_type_; | 601 RawType* smi_type_; |
596 RawClass* mint_class_; | 602 RawClass* mint_class_; |
597 RawType* mint_type_; | 603 RawType* mint_type_; |
598 RawClass* bigint_class_; | 604 RawClass* bigint_class_; |
599 RawClass* double_class_; | 605 RawClass* double_class_; |
600 RawType* double_type_; | 606 RawType* double_type_; |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
673 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } | 679 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } |
674 | 680 |
675 friend class SnapshotReader; | 681 friend class SnapshotReader; |
676 | 682 |
677 DISALLOW_COPY_AND_ASSIGN(ObjectStore); | 683 DISALLOW_COPY_AND_ASSIGN(ObjectStore); |
678 }; | 684 }; |
679 | 685 |
680 } // namespace dart | 686 } // namespace dart |
681 | 687 |
682 #endif // VM_OBJECT_STORE_H_ | 688 #endif // VM_OBJECT_STORE_H_ |
OLD | NEW |