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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 RawClass* growable_object_array_class() const { | 187 RawClass* growable_object_array_class() const { |
188 return growable_object_array_class_; | 188 return growable_object_array_class_; |
189 } | 189 } |
190 void set_growable_object_array_class(const Class& value) { | 190 void set_growable_object_array_class(const Class& value) { |
191 growable_object_array_class_ = value.raw(); | 191 growable_object_array_class_ = value.raw(); |
192 } | 192 } |
193 static intptr_t growable_object_array_class_offset() { | 193 static intptr_t growable_object_array_class_offset() { |
194 return OFFSET_OF(ObjectStore, growable_object_array_class_); | 194 return OFFSET_OF(ObjectStore, growable_object_array_class_); |
195 } | 195 } |
196 | 196 |
| 197 RawClass* linked_hash_map_class() const { |
| 198 return linked_hash_map_class_; |
| 199 } |
| 200 void set_linked_hash_map_class(const Class& value) { |
| 201 linked_hash_map_class_ = value.raw(); |
| 202 } |
| 203 |
197 RawClass* float32x4_class() const { | 204 RawClass* float32x4_class() const { |
198 return float32x4_class_; | 205 return float32x4_class_; |
199 } | 206 } |
200 void set_float32x4_class(const Class& value) { | 207 void set_float32x4_class(const Class& value) { |
201 float32x4_class_ = value.raw(); | 208 float32x4_class_ = value.raw(); |
202 } | 209 } |
203 | 210 |
204 RawType* float32x4_type() const { return float32x4_type_; } | 211 RawType* float32x4_type() const { return float32x4_type_; } |
205 void set_float32x4_type(const Type& value) { float32x4_type_ = value.raw(); } | 212 void set_float32x4_type(const Type& value) { float32x4_type_ = value.raw(); } |
206 | 213 |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
457 RawClass* one_byte_string_class_; | 464 RawClass* one_byte_string_class_; |
458 RawClass* two_byte_string_class_; | 465 RawClass* two_byte_string_class_; |
459 RawClass* external_one_byte_string_class_; | 466 RawClass* external_one_byte_string_class_; |
460 RawClass* external_two_byte_string_class_; | 467 RawClass* external_two_byte_string_class_; |
461 RawType* bool_type_; | 468 RawType* bool_type_; |
462 RawClass* bool_class_; | 469 RawClass* bool_class_; |
463 RawClass* array_class_; | 470 RawClass* array_class_; |
464 RawType* array_type_; | 471 RawType* array_type_; |
465 RawClass* immutable_array_class_; | 472 RawClass* immutable_array_class_; |
466 RawClass* growable_object_array_class_; | 473 RawClass* growable_object_array_class_; |
| 474 RawClass* linked_hash_map_class_; |
467 RawClass* float32x4_class_; | 475 RawClass* float32x4_class_; |
468 RawClass* int32x4_class_; | 476 RawClass* int32x4_class_; |
469 RawClass* float64x2_class_; | 477 RawClass* float64x2_class_; |
470 RawArray* typed_data_classes_; | 478 RawArray* typed_data_classes_; |
471 RawClass* error_class_; | 479 RawClass* error_class_; |
472 RawClass* stacktrace_class_; | 480 RawClass* stacktrace_class_; |
473 RawClass* weak_property_class_; | 481 RawClass* weak_property_class_; |
474 RawArray* symbol_table_; | 482 RawArray* symbol_table_; |
475 RawArray* canonical_type_arguments_; | 483 RawArray* canonical_type_arguments_; |
476 RawLibrary* async_library_; | 484 RawLibrary* async_library_; |
(...skipping 27 matching lines...) Expand all Loading... |
504 } | 512 } |
505 | 513 |
506 friend class SnapshotReader; | 514 friend class SnapshotReader; |
507 | 515 |
508 DISALLOW_COPY_AND_ASSIGN(ObjectStore); | 516 DISALLOW_COPY_AND_ASSIGN(ObjectStore); |
509 }; | 517 }; |
510 | 518 |
511 } // namespace dart | 519 } // namespace dart |
512 | 520 |
513 #endif // VM_OBJECT_STORE_H_ | 521 #endif // VM_OBJECT_STORE_H_ |
OLD | NEW |