| 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 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 464 root_library_ = value.raw(); | 464 root_library_ = value.raw(); |
| 465 } | 465 } |
| 466 | 466 |
| 467 RawLibrary* scalarlist_library() const { | 467 RawLibrary* scalarlist_library() const { |
| 468 return scalarlist_library_; | 468 return scalarlist_library_; |
| 469 } | 469 } |
| 470 void set_scalarlist_library(const Library& value) { | 470 void set_scalarlist_library(const Library& value) { |
| 471 scalarlist_library_ = value.raw(); | 471 scalarlist_library_ = value.raw(); |
| 472 } | 472 } |
| 473 | 473 |
| 474 RawLibrary* typeddata_library() const { |
| 475 return typeddata_library_; |
| 476 } |
| 477 void set_typeddata_library(const Library& value) { |
| 478 typeddata_library_ = value.raw(); |
| 479 } |
| 480 |
| 474 RawLibrary* uri_library() const { | 481 RawLibrary* uri_library() const { |
| 475 return uri_library_; | 482 return uri_library_; |
| 476 } | 483 } |
| 477 void set_uri_library(const Library& value) { | 484 void set_uri_library(const Library& value) { |
| 478 uri_library_ = value.raw(); | 485 uri_library_ = value.raw(); |
| 479 } | 486 } |
| 480 | 487 |
| 481 RawLibrary* utf_library() const { | 488 RawLibrary* utf_library() const { |
| 482 return utf_library_; | 489 return utf_library_; |
| 483 } | 490 } |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 641 RawLibrary* collection_library_; | 648 RawLibrary* collection_library_; |
| 642 RawLibrary* collection_dev_library_; | 649 RawLibrary* collection_dev_library_; |
| 643 RawLibrary* crypto_library_; | 650 RawLibrary* crypto_library_; |
| 644 RawLibrary* isolate_library_; | 651 RawLibrary* isolate_library_; |
| 645 RawLibrary* json_library_; | 652 RawLibrary* json_library_; |
| 646 RawLibrary* math_library_; | 653 RawLibrary* math_library_; |
| 647 RawLibrary* mirrors_library_; | 654 RawLibrary* mirrors_library_; |
| 648 RawLibrary* native_wrappers_library_; | 655 RawLibrary* native_wrappers_library_; |
| 649 RawLibrary* root_library_; | 656 RawLibrary* root_library_; |
| 650 RawLibrary* scalarlist_library_; | 657 RawLibrary* scalarlist_library_; |
| 658 RawLibrary* typeddata_library_; |
| 651 RawLibrary* uri_library_; | 659 RawLibrary* uri_library_; |
| 652 RawLibrary* utf_library_; | 660 RawLibrary* utf_library_; |
| 653 RawGrowableObjectArray* libraries_; | 661 RawGrowableObjectArray* libraries_; |
| 654 RawGrowableObjectArray* pending_classes_; | 662 RawGrowableObjectArray* pending_classes_; |
| 655 RawError* sticky_error_; | 663 RawError* sticky_error_; |
| 656 RawString* unhandled_exception_handler_; | 664 RawString* unhandled_exception_handler_; |
| 657 RawContext* empty_context_; | 665 RawContext* empty_context_; |
| 658 RawInstance* stack_overflow_; | 666 RawInstance* stack_overflow_; |
| 659 RawInstance* out_of_memory_; | 667 RawInstance* out_of_memory_; |
| 660 RawStacktrace* preallocated_stack_trace_; | 668 RawStacktrace* preallocated_stack_trace_; |
| 661 RawArray* keyword_symbols_; | 669 RawArray* keyword_symbols_; |
| 662 RawFunction* receive_port_create_function_; | 670 RawFunction* receive_port_create_function_; |
| 663 RawFunction* lookup_receive_port_function_; | 671 RawFunction* lookup_receive_port_function_; |
| 664 RawFunction* handle_message_function_; | 672 RawFunction* handle_message_function_; |
| 665 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } | 673 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } |
| 666 | 674 |
| 667 friend class SnapshotReader; | 675 friend class SnapshotReader; |
| 668 | 676 |
| 669 DISALLOW_COPY_AND_ASSIGN(ObjectStore); | 677 DISALLOW_COPY_AND_ASSIGN(ObjectStore); |
| 670 }; | 678 }; |
| 671 | 679 |
| 672 } // namespace dart | 680 } // namespace dart |
| 673 | 681 |
| 674 #endif // VM_OBJECT_STORE_H_ | 682 #endif // VM_OBJECT_STORE_H_ |
| OLD | NEW |