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 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
370 core_impl_library_ = value.raw(); | 370 core_impl_library_ = value.raw(); |
371 } | 371 } |
372 | 372 |
373 RawLibrary* collection_library() const { | 373 RawLibrary* collection_library() const { |
374 return collection_library_; | 374 return collection_library_; |
375 } | 375 } |
376 void set_collection_library(const Library& value) { | 376 void set_collection_library(const Library& value) { |
377 collection_library_ = value.raw(); | 377 collection_library_ = value.raw(); |
378 } | 378 } |
379 | 379 |
| 380 RawLibrary* collection_dev_library() const { |
| 381 return collection_dev_library_; |
| 382 } |
| 383 void set_collection_dev_library(const Library& value) { |
| 384 collection_dev_library_ = value.raw(); |
| 385 } |
| 386 |
380 RawLibrary* math_library() const { | 387 RawLibrary* math_library() const { |
381 return math_library_; | 388 return math_library_; |
382 } | 389 } |
383 void set_math_library(const Library& value) { | 390 void set_math_library(const Library& value) { |
384 math_library_ = value.raw(); | 391 math_library_ = value.raw(); |
385 } | 392 } |
386 | 393 |
387 RawLibrary* isolate_library() const { | 394 RawLibrary* isolate_library() const { |
388 return isolate_library_; | 395 return isolate_library_; |
389 } | 396 } |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
557 RawClass* external_float64_array_class_; | 564 RawClass* external_float64_array_class_; |
558 RawClass* stacktrace_class_; | 565 RawClass* stacktrace_class_; |
559 RawClass* jsregexp_class_; | 566 RawClass* jsregexp_class_; |
560 RawClass* weak_property_class_; | 567 RawClass* weak_property_class_; |
561 RawArray* symbol_table_; | 568 RawArray* symbol_table_; |
562 RawArray* canonical_type_arguments_; | 569 RawArray* canonical_type_arguments_; |
563 RawLibrary* async_library_; | 570 RawLibrary* async_library_; |
564 RawLibrary* core_library_; | 571 RawLibrary* core_library_; |
565 RawLibrary* core_impl_library_; | 572 RawLibrary* core_impl_library_; |
566 RawLibrary* collection_library_; | 573 RawLibrary* collection_library_; |
| 574 RawLibrary* collection_dev_library_; |
567 RawLibrary* math_library_; | 575 RawLibrary* math_library_; |
568 RawLibrary* isolate_library_; | 576 RawLibrary* isolate_library_; |
569 RawLibrary* mirrors_library_; | 577 RawLibrary* mirrors_library_; |
570 RawLibrary* scalarlist_library_; | 578 RawLibrary* scalarlist_library_; |
571 RawLibrary* native_wrappers_library_; | 579 RawLibrary* native_wrappers_library_; |
572 RawLibrary* builtin_library_; | 580 RawLibrary* builtin_library_; |
573 RawLibrary* root_library_; | 581 RawLibrary* root_library_; |
574 RawGrowableObjectArray* libraries_; | 582 RawGrowableObjectArray* libraries_; |
575 RawGrowableObjectArray* pending_classes_; | 583 RawGrowableObjectArray* pending_classes_; |
576 RawError* sticky_error_; | 584 RawError* sticky_error_; |
577 RawString* unhandled_exception_handler_; | 585 RawString* unhandled_exception_handler_; |
578 RawContext* empty_context_; | 586 RawContext* empty_context_; |
579 RawInstance* stack_overflow_; | 587 RawInstance* stack_overflow_; |
580 RawInstance* out_of_memory_; | 588 RawInstance* out_of_memory_; |
581 RawArray* keyword_symbols_; | 589 RawArray* keyword_symbols_; |
582 RawFunction* receive_port_create_function_; | 590 RawFunction* receive_port_create_function_; |
583 RawFunction* lookup_receive_port_function_; | 591 RawFunction* lookup_receive_port_function_; |
584 RawFunction* handle_message_function_; | 592 RawFunction* handle_message_function_; |
585 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } | 593 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } |
586 | 594 |
587 friend class SnapshotReader; | 595 friend class SnapshotReader; |
588 | 596 |
589 DISALLOW_COPY_AND_ASSIGN(ObjectStore); | 597 DISALLOW_COPY_AND_ASSIGN(ObjectStore); |
590 }; | 598 }; |
591 | 599 |
592 } // namespace dart | 600 } // namespace dart |
593 | 601 |
594 #endif // VM_OBJECT_STORE_H_ | 602 #endif // VM_OBJECT_STORE_H_ |
OLD | NEW |