| 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 RUNTIME_VM_OBJECT_STORE_H_ | 5 #ifndef RUNTIME_VM_OBJECT_STORE_H_ |
| 6 #define RUNTIME_VM_OBJECT_STORE_H_ | 6 #define RUNTIME_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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 | 83 |
| 84 RawType* number_type() const { return number_type_; } | 84 RawType* number_type() const { return number_type_; } |
| 85 void set_number_type(const Type& value) { number_type_ = value.raw(); } | 85 void set_number_type(const Type& value) { number_type_ = value.raw(); } |
| 86 | 86 |
| 87 RawType* int_type() const { return int_type_; } | 87 RawType* int_type() const { return int_type_; } |
| 88 void set_int_type(const Type& value) { int_type_ = value.raw(); } | 88 void set_int_type(const Type& value) { int_type_ = value.raw(); } |
| 89 static intptr_t int_type_offset() { | 89 static intptr_t int_type_offset() { |
| 90 return OFFSET_OF(ObjectStore, int_type_); | 90 return OFFSET_OF(ObjectStore, int_type_); |
| 91 } | 91 } |
| 92 | 92 |
| 93 RawType* int64_type() const { return int64_type_; } |
| 94 void set_int64_type(const Type& value) { int64_type_ = value.raw(); } |
| 95 |
| 93 RawClass* integer_implementation_class() const { | 96 RawClass* integer_implementation_class() const { |
| 94 return integer_implementation_class_; | 97 return integer_implementation_class_; |
| 95 } | 98 } |
| 96 void set_integer_implementation_class(const Class& value) { | 99 void set_integer_implementation_class(const Class& value) { |
| 97 integer_implementation_class_ = value.raw(); | 100 integer_implementation_class_ = value.raw(); |
| 98 } | 101 } |
| 99 | 102 |
| 100 RawClass* smi_class() const { return smi_class_; } | 103 RawClass* smi_class() const { return smi_class_; } |
| 101 void set_smi_class(const Class& value) { smi_class_ = value.raw(); } | 104 void set_smi_class(const Class& value) { smi_class_ = value.raw(); } |
| 102 | 105 |
| (...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 504 #define OBJECT_STORE_FIELD_LIST(V) \ | 507 #define OBJECT_STORE_FIELD_LIST(V) \ |
| 505 V(RawClass*, object_class_) \ | 508 V(RawClass*, object_class_) \ |
| 506 V(RawType*, object_type_) \ | 509 V(RawType*, object_type_) \ |
| 507 V(RawClass*, null_class_) \ | 510 V(RawClass*, null_class_) \ |
| 508 V(RawType*, null_type_) \ | 511 V(RawType*, null_type_) \ |
| 509 V(RawType*, function_type_) \ | 512 V(RawType*, function_type_) \ |
| 510 V(RawClass*, closure_class_) \ | 513 V(RawClass*, closure_class_) \ |
| 511 V(RawType*, number_type_) \ | 514 V(RawType*, number_type_) \ |
| 512 V(RawType*, int_type_) \ | 515 V(RawType*, int_type_) \ |
| 513 V(RawClass*, integer_implementation_class_) \ | 516 V(RawClass*, integer_implementation_class_) \ |
| 517 V(RawType*, int64_type_) \ |
| 514 V(RawClass*, smi_class_) \ | 518 V(RawClass*, smi_class_) \ |
| 515 V(RawType*, smi_type_) \ | 519 V(RawType*, smi_type_) \ |
| 516 V(RawClass*, mint_class_) \ | 520 V(RawClass*, mint_class_) \ |
| 517 V(RawType*, mint_type_) \ | 521 V(RawType*, mint_type_) \ |
| 518 V(RawClass*, bigint_class_) \ | 522 V(RawClass*, bigint_class_) \ |
| 519 V(RawClass*, double_class_) \ | 523 V(RawClass*, double_class_) \ |
| 520 V(RawType*, double_type_) \ | 524 V(RawType*, double_type_) \ |
| 521 V(RawType*, float32x4_type_) \ | 525 V(RawType*, float32x4_type_) \ |
| 522 V(RawType*, int32x4_type_) \ | 526 V(RawType*, int32x4_type_) \ |
| 523 V(RawType*, float64x2_type_) \ | 527 V(RawType*, float64x2_type_) \ |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 620 | 624 |
| 621 friend class Serializer; | 625 friend class Serializer; |
| 622 friend class Deserializer; | 626 friend class Deserializer; |
| 623 | 627 |
| 624 DISALLOW_COPY_AND_ASSIGN(ObjectStore); | 628 DISALLOW_COPY_AND_ASSIGN(ObjectStore); |
| 625 }; | 629 }; |
| 626 | 630 |
| 627 } // namespace dart | 631 } // namespace dart |
| 628 | 632 |
| 629 #endif // RUNTIME_VM_OBJECT_STORE_H_ | 633 #endif // RUNTIME_VM_OBJECT_STORE_H_ |
| OLD | NEW |