| 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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 return OFFSET_OF(ObjectStore, jsregexp_class_); | 235 return OFFSET_OF(ObjectStore, jsregexp_class_); |
| 236 } | 236 } |
| 237 | 237 |
| 238 RawClass* weak_property_class() const { | 238 RawClass* weak_property_class() const { |
| 239 return weak_property_class_; | 239 return weak_property_class_; |
| 240 } | 240 } |
| 241 void set_weak_property_class(const Class& value) { | 241 void set_weak_property_class(const Class& value) { |
| 242 weak_property_class_ = value.raw(); | 242 weak_property_class_ = value.raw(); |
| 243 } | 243 } |
| 244 | 244 |
| 245 RawClass* mirror_reference_class() const { |
| 246 return mirror_reference_class_; |
| 247 } |
| 248 void set_mirror_reference_class(const Class& value) { |
| 249 mirror_reference_class_ = value.raw(); |
| 250 } |
| 251 |
| 245 RawArray* symbol_table() const { return symbol_table_; } | 252 RawArray* symbol_table() const { return symbol_table_; } |
| 246 void set_symbol_table(const Array& value) { symbol_table_ = value.raw(); } | 253 void set_symbol_table(const Array& value) { symbol_table_ = value.raw(); } |
| 247 | 254 |
| 248 RawArray* canonical_type_arguments() const { | 255 RawArray* canonical_type_arguments() const { |
| 249 return canonical_type_arguments_; | 256 return canonical_type_arguments_; |
| 250 } | 257 } |
| 251 void set_canonical_type_arguments(const Array& value) { | 258 void set_canonical_type_arguments(const Array& value) { |
| 252 canonical_type_arguments_ = value.raw(); | 259 canonical_type_arguments_ = value.raw(); |
| 253 } | 260 } |
| 254 | 261 |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 439 RawClass* array_class_; | 446 RawClass* array_class_; |
| 440 RawType* array_type_; | 447 RawType* array_type_; |
| 441 RawClass* immutable_array_class_; | 448 RawClass* immutable_array_class_; |
| 442 RawClass* growable_object_array_class_; | 449 RawClass* growable_object_array_class_; |
| 443 RawClass* float32x4_class_; | 450 RawClass* float32x4_class_; |
| 444 RawClass* uint32x4_class_; | 451 RawClass* uint32x4_class_; |
| 445 RawArray* typed_data_classes_; | 452 RawArray* typed_data_classes_; |
| 446 RawClass* stacktrace_class_; | 453 RawClass* stacktrace_class_; |
| 447 RawClass* jsregexp_class_; | 454 RawClass* jsregexp_class_; |
| 448 RawClass* weak_property_class_; | 455 RawClass* weak_property_class_; |
| 456 RawClass* mirror_reference_class_; |
| 449 RawArray* symbol_table_; | 457 RawArray* symbol_table_; |
| 450 RawArray* canonical_type_arguments_; | 458 RawArray* canonical_type_arguments_; |
| 451 RawLibrary* async_library_; | 459 RawLibrary* async_library_; |
| 452 RawLibrary* builtin_library_; | 460 RawLibrary* builtin_library_; |
| 453 RawLibrary* core_library_; | 461 RawLibrary* core_library_; |
| 454 RawLibrary* collection_library_; | 462 RawLibrary* collection_library_; |
| 455 RawLibrary* collection_dev_library_; | 463 RawLibrary* collection_dev_library_; |
| 456 RawLibrary* isolate_library_; | 464 RawLibrary* isolate_library_; |
| 457 RawLibrary* json_library_; | 465 RawLibrary* json_library_; |
| 458 RawLibrary* math_library_; | 466 RawLibrary* math_library_; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 476 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } | 484 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } |
| 477 | 485 |
| 478 friend class SnapshotReader; | 486 friend class SnapshotReader; |
| 479 | 487 |
| 480 DISALLOW_COPY_AND_ASSIGN(ObjectStore); | 488 DISALLOW_COPY_AND_ASSIGN(ObjectStore); |
| 481 }; | 489 }; |
| 482 | 490 |
| 483 } // namespace dart | 491 } // namespace dart |
| 484 | 492 |
| 485 #endif // VM_OBJECT_STORE_H_ | 493 #endif // VM_OBJECT_STORE_H_ |
| OLD | NEW |