| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 | 69 |
| 70 RawClass* integer_implementation_class() const { | 70 RawClass* integer_implementation_class() const { |
| 71 return integer_implementation_class_; | 71 return integer_implementation_class_; |
| 72 } | 72 } |
| 73 void set_integer_implementation_class(const Class& value) { | 73 void set_integer_implementation_class(const Class& value) { |
| 74 integer_implementation_class_ = value.raw(); | 74 integer_implementation_class_ = value.raw(); |
| 75 } | 75 } |
| 76 | 76 |
| 77 RawClass* smi_class() const { return smi_class_; } | 77 RawClass* smi_class() const { return smi_class_; } |
| 78 void set_smi_class(const Class& value) { smi_class_ = value.raw(); } | 78 void set_smi_class(const Class& value) { smi_class_ = value.raw(); } |
| 79 static intptr_t smi_class_offset() { | 79 |
| 80 return OFFSET_OF(ObjectStore, smi_class_); | 80 RawType* smi_type() const { return smi_type_; } |
| 81 void set_smi_type(const Type& value) { smi_type_ = value.raw(); |
| 81 } | 82 } |
| 82 | 83 |
| 83 RawType* double_interface() const { return double_interface_; } | 84 RawType* double_interface() const { return double_interface_; } |
| 84 void set_double_interface(const Type& value) { | 85 void set_double_interface(const Type& value) { |
| 85 double_interface_ = value.raw(); | 86 double_interface_ = value.raw(); |
| 86 } | 87 } |
| 87 | 88 |
| 88 RawClass* double_class() const { return double_class_; } | 89 RawClass* double_class() const { return double_class_; } |
| 89 void set_double_class(const Class& value) { double_class_ = value.raw(); } | 90 void set_double_class(const Class& value) { double_class_ = value.raw(); } |
| 90 | 91 |
| 92 RawType* double_type() const { return double_type_; } |
| 93 void set_double_type(const Type& value) { double_type_ = value.raw(); } |
| 94 |
| 91 RawClass* mint_class() const { return mint_class_; } | 95 RawClass* mint_class() const { return mint_class_; } |
| 92 void set_mint_class(const Class& value) { mint_class_ = value.raw(); } | 96 void set_mint_class(const Class& value) { mint_class_ = value.raw(); } |
| 93 | 97 |
| 98 RawType* mint_type() const { return mint_type_; } |
| 99 void set_mint_type(const Type& value) { mint_type_ = value.raw(); } |
| 100 |
| 94 RawClass* bigint_class() const { return bigint_class_; } | 101 RawClass* bigint_class() const { return bigint_class_; } |
| 95 void set_bigint_class(const Class& value) { bigint_class_ = value.raw(); } | 102 void set_bigint_class(const Class& value) { bigint_class_ = value.raw(); } |
| 96 | 103 |
| 97 RawType* string_interface() const { return string_interface_; } | 104 RawType* string_interface() const { return string_interface_; } |
| 98 void set_string_interface(const Type& value) { | 105 void set_string_interface(const Type& value) { |
| 99 string_interface_ = value.raw(); | 106 string_interface_ = value.raw(); |
| 100 } | 107 } |
| 101 | 108 |
| 102 RawClass* one_byte_string_class() const { return one_byte_string_class_; } | 109 RawClass* one_byte_string_class() const { return one_byte_string_class_; } |
| 103 void set_one_byte_string_class(const Class& value) { | 110 void set_one_byte_string_class(const Class& value) { |
| (...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 459 RawClass* object_class_; | 466 RawClass* object_class_; |
| 460 RawType* object_type_; | 467 RawType* object_type_; |
| 461 RawType* null_type_; | 468 RawType* null_type_; |
| 462 RawType* dynamic_type_; | 469 RawType* dynamic_type_; |
| 463 RawType* void_type_; | 470 RawType* void_type_; |
| 464 RawType* function_interface_; | 471 RawType* function_interface_; |
| 465 RawType* number_interface_; | 472 RawType* number_interface_; |
| 466 RawType* int_interface_; | 473 RawType* int_interface_; |
| 467 RawClass* integer_implementation_class_; | 474 RawClass* integer_implementation_class_; |
| 468 RawClass* smi_class_; | 475 RawClass* smi_class_; |
| 476 RawType* smi_type_; |
| 469 RawClass* mint_class_; | 477 RawClass* mint_class_; |
| 478 RawType* mint_type_; |
| 470 RawClass* bigint_class_; | 479 RawClass* bigint_class_; |
| 471 RawType* double_interface_; | 480 RawType* double_interface_; |
| 472 RawClass* double_class_; | 481 RawClass* double_class_; |
| 482 RawType* double_type_; |
| 473 RawType* string_interface_; | 483 RawType* string_interface_; |
| 474 RawClass* one_byte_string_class_; | 484 RawClass* one_byte_string_class_; |
| 475 RawClass* two_byte_string_class_; | 485 RawClass* two_byte_string_class_; |
| 476 RawClass* four_byte_string_class_; | 486 RawClass* four_byte_string_class_; |
| 477 RawClass* external_one_byte_string_class_; | 487 RawClass* external_one_byte_string_class_; |
| 478 RawClass* external_two_byte_string_class_; | 488 RawClass* external_two_byte_string_class_; |
| 479 RawClass* external_four_byte_string_class_; | 489 RawClass* external_four_byte_string_class_; |
| 480 RawType* bool_interface_; | 490 RawType* bool_interface_; |
| 481 RawClass* bool_class_; | 491 RawClass* bool_class_; |
| 482 RawType* list_interface_; | 492 RawType* list_interface_; |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 529 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } | 539 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } |
| 530 | 540 |
| 531 friend class SnapshotReader; | 541 friend class SnapshotReader; |
| 532 | 542 |
| 533 DISALLOW_COPY_AND_ASSIGN(ObjectStore); | 543 DISALLOW_COPY_AND_ASSIGN(ObjectStore); |
| 534 }; | 544 }; |
| 535 | 545 |
| 536 } // namespace dart | 546 } // namespace dart |
| 537 | 547 |
| 538 #endif // VM_OBJECT_STORE_H_ | 548 #endif // VM_OBJECT_STORE_H_ |
| OLD | NEW |