| 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 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 436 root_library_ = value.raw(); | 436 root_library_ = value.raw(); |
| 437 } | 437 } |
| 438 | 438 |
| 439 RawLibrary* scalarlist_library() const { | 439 RawLibrary* scalarlist_library() const { |
| 440 return scalarlist_library_; | 440 return scalarlist_library_; |
| 441 } | 441 } |
| 442 void set_scalarlist_library(const Library& value) { | 442 void set_scalarlist_library(const Library& value) { |
| 443 scalarlist_library_ = value.raw(); | 443 scalarlist_library_ = value.raw(); |
| 444 } | 444 } |
| 445 | 445 |
| 446 RawLibrary* typeddata_library() const { |
| 447 return typeddata_library_; |
| 448 } |
| 449 void set_typeddata_library(const Library& value) { |
| 450 typeddata_library_ = value.raw(); |
| 451 } |
| 452 |
| 446 RawLibrary* uri_library() const { | 453 RawLibrary* uri_library() const { |
| 447 return uri_library_; | 454 return uri_library_; |
| 448 } | 455 } |
| 449 void set_uri_library(const Library& value) { | 456 void set_uri_library(const Library& value) { |
| 450 uri_library_ = value.raw(); | 457 uri_library_ = value.raw(); |
| 451 } | 458 } |
| 452 | 459 |
| 453 RawLibrary* utf_library() const { | 460 RawLibrary* utf_library() const { |
| 454 return utf_library_; | 461 return utf_library_; |
| 455 } | 462 } |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 602 RawLibrary* collection_library_; | 609 RawLibrary* collection_library_; |
| 603 RawLibrary* collection_dev_library_; | 610 RawLibrary* collection_dev_library_; |
| 604 RawLibrary* crypto_library_; | 611 RawLibrary* crypto_library_; |
| 605 RawLibrary* isolate_library_; | 612 RawLibrary* isolate_library_; |
| 606 RawLibrary* json_library_; | 613 RawLibrary* json_library_; |
| 607 RawLibrary* math_library_; | 614 RawLibrary* math_library_; |
| 608 RawLibrary* mirrors_library_; | 615 RawLibrary* mirrors_library_; |
| 609 RawLibrary* native_wrappers_library_; | 616 RawLibrary* native_wrappers_library_; |
| 610 RawLibrary* root_library_; | 617 RawLibrary* root_library_; |
| 611 RawLibrary* scalarlist_library_; | 618 RawLibrary* scalarlist_library_; |
| 619 RawLibrary* typeddata_library_; |
| 612 RawLibrary* uri_library_; | 620 RawLibrary* uri_library_; |
| 613 RawLibrary* utf_library_; | 621 RawLibrary* utf_library_; |
| 614 RawGrowableObjectArray* libraries_; | 622 RawGrowableObjectArray* libraries_; |
| 615 RawGrowableObjectArray* pending_classes_; | 623 RawGrowableObjectArray* pending_classes_; |
| 616 RawError* sticky_error_; | 624 RawError* sticky_error_; |
| 617 RawString* unhandled_exception_handler_; | 625 RawString* unhandled_exception_handler_; |
| 618 RawContext* empty_context_; | 626 RawContext* empty_context_; |
| 619 RawInstance* stack_overflow_; | 627 RawInstance* stack_overflow_; |
| 620 RawInstance* out_of_memory_; | 628 RawInstance* out_of_memory_; |
| 621 RawArray* keyword_symbols_; | 629 RawArray* keyword_symbols_; |
| 622 RawFunction* receive_port_create_function_; | 630 RawFunction* receive_port_create_function_; |
| 623 RawFunction* lookup_receive_port_function_; | 631 RawFunction* lookup_receive_port_function_; |
| 624 RawFunction* handle_message_function_; | 632 RawFunction* handle_message_function_; |
| 625 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } | 633 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } |
| 626 | 634 |
| 627 friend class SnapshotReader; | 635 friend class SnapshotReader; |
| 628 | 636 |
| 629 DISALLOW_COPY_AND_ASSIGN(ObjectStore); | 637 DISALLOW_COPY_AND_ASSIGN(ObjectStore); |
| 630 }; | 638 }; |
| 631 | 639 |
| 632 } // namespace dart | 640 } // namespace dart |
| 633 | 641 |
| 634 #endif // VM_OBJECT_STORE_H_ | 642 #endif // VM_OBJECT_STORE_H_ |
| OLD | NEW |