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 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
348 RawArray* symbol_table() const { return symbol_table_; } | 348 RawArray* symbol_table() const { return symbol_table_; } |
349 void set_symbol_table(const Array& value) { symbol_table_ = value.raw(); } | 349 void set_symbol_table(const Array& value) { symbol_table_ = value.raw(); } |
350 | 350 |
351 RawArray* canonical_type_arguments() const { | 351 RawArray* canonical_type_arguments() const { |
352 return canonical_type_arguments_; | 352 return canonical_type_arguments_; |
353 } | 353 } |
354 void set_canonical_type_arguments(const Array& value) { | 354 void set_canonical_type_arguments(const Array& value) { |
355 canonical_type_arguments_ = value.raw(); | 355 canonical_type_arguments_ = value.raw(); |
356 } | 356 } |
357 | 357 |
| 358 RawLibrary* async_library() const { return async_library_; } |
| 359 void set_async_library(const Library& value) { |
| 360 async_library_ = value.raw(); |
| 361 } |
| 362 |
358 RawLibrary* core_library() const { return core_library_; } | 363 RawLibrary* core_library() const { return core_library_; } |
359 void set_core_library(const Library& value) { | 364 void set_core_library(const Library& value) { |
360 core_library_ = value.raw(); | 365 core_library_ = value.raw(); |
361 } | 366 } |
362 | 367 |
363 RawLibrary* core_impl_library() const { return core_impl_library_; } | 368 RawLibrary* core_impl_library() const { return core_impl_library_; } |
364 void set_core_impl_library(const Library& value) { | 369 void set_core_impl_library(const Library& value) { |
365 core_impl_library_ = value.raw(); | 370 core_impl_library_ = value.raw(); |
366 } | 371 } |
367 | 372 |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
548 RawClass* external_uint32_array_class_; | 553 RawClass* external_uint32_array_class_; |
549 RawClass* external_int64_array_class_; | 554 RawClass* external_int64_array_class_; |
550 RawClass* external_uint64_array_class_; | 555 RawClass* external_uint64_array_class_; |
551 RawClass* external_float32_array_class_; | 556 RawClass* external_float32_array_class_; |
552 RawClass* external_float64_array_class_; | 557 RawClass* external_float64_array_class_; |
553 RawClass* stacktrace_class_; | 558 RawClass* stacktrace_class_; |
554 RawClass* jsregexp_class_; | 559 RawClass* jsregexp_class_; |
555 RawClass* weak_property_class_; | 560 RawClass* weak_property_class_; |
556 RawArray* symbol_table_; | 561 RawArray* symbol_table_; |
557 RawArray* canonical_type_arguments_; | 562 RawArray* canonical_type_arguments_; |
| 563 RawLibrary* async_library_; |
558 RawLibrary* core_library_; | 564 RawLibrary* core_library_; |
559 RawLibrary* core_impl_library_; | 565 RawLibrary* core_impl_library_; |
560 RawLibrary* collection_library_; | 566 RawLibrary* collection_library_; |
561 RawLibrary* math_library_; | 567 RawLibrary* math_library_; |
562 RawLibrary* isolate_library_; | 568 RawLibrary* isolate_library_; |
563 RawLibrary* mirrors_library_; | 569 RawLibrary* mirrors_library_; |
564 RawLibrary* scalarlist_library_; | 570 RawLibrary* scalarlist_library_; |
565 RawLibrary* native_wrappers_library_; | 571 RawLibrary* native_wrappers_library_; |
566 RawLibrary* builtin_library_; | 572 RawLibrary* builtin_library_; |
567 RawLibrary* root_library_; | 573 RawLibrary* root_library_; |
(...skipping 11 matching lines...) Expand all Loading... |
579 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } | 585 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } |
580 | 586 |
581 friend class SnapshotReader; | 587 friend class SnapshotReader; |
582 | 588 |
583 DISALLOW_COPY_AND_ASSIGN(ObjectStore); | 589 DISALLOW_COPY_AND_ASSIGN(ObjectStore); |
584 }; | 590 }; |
585 | 591 |
586 } // namespace dart | 592 } // namespace dart |
587 | 593 |
588 #endif // VM_OBJECT_STORE_H_ | 594 #endif // VM_OBJECT_STORE_H_ |
OLD | NEW |