| 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 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 RawLibrary* root_library() const { return root_library_; } | 325 RawLibrary* root_library() const { return root_library_; } |
| 326 void set_root_library(const Library& value) { | 326 void set_root_library(const Library& value) { |
| 327 root_library_ = value.raw(); | 327 root_library_ = value.raw(); |
| 328 } | 328 } |
| 329 | 329 |
| 330 RawGrowableObjectArray* libraries() const { return libraries_; } | 330 RawGrowableObjectArray* libraries() const { return libraries_; } |
| 331 void set_libraries(const GrowableObjectArray& value) { | 331 void set_libraries(const GrowableObjectArray& value) { |
| 332 libraries_ = value.raw(); | 332 libraries_ = value.raw(); |
| 333 } | 333 } |
| 334 | 334 |
| 335 RawGrowableObjectArray* closure_functions() const { |
| 336 return closure_functions_; |
| 337 } |
| 338 void set_closure_functions(const GrowableObjectArray& value) { |
| 339 ASSERT(!value.IsNull()); |
| 340 closure_functions_ = value.raw(); |
| 341 } |
| 342 |
| 335 RawGrowableObjectArray* pending_classes() const { return pending_classes_; } | 343 RawGrowableObjectArray* pending_classes() const { return pending_classes_; } |
| 336 void set_pending_classes(const GrowableObjectArray& value) { | 344 void set_pending_classes(const GrowableObjectArray& value) { |
| 337 ASSERT(!value.IsNull()); | 345 ASSERT(!value.IsNull()); |
| 338 pending_classes_ = value.raw(); | 346 pending_classes_ = value.raw(); |
| 339 } | 347 } |
| 340 | 348 |
| 341 RawGrowableObjectArray* pending_deferred_loads() const { | 349 RawGrowableObjectArray* pending_deferred_loads() const { |
| 342 return pending_deferred_loads_; | 350 return pending_deferred_loads_; |
| 343 } | 351 } |
| 344 void clear_pending_deferred_loads() { | 352 void clear_pending_deferred_loads() { |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 535 RawLibrary* internal_library_; | 543 RawLibrary* internal_library_; |
| 536 RawLibrary* isolate_library_; | 544 RawLibrary* isolate_library_; |
| 537 RawLibrary* math_library_; | 545 RawLibrary* math_library_; |
| 538 RawLibrary* mirrors_library_; | 546 RawLibrary* mirrors_library_; |
| 539 RawLibrary* native_wrappers_library_; | 547 RawLibrary* native_wrappers_library_; |
| 540 RawLibrary* profiler_library_; | 548 RawLibrary* profiler_library_; |
| 541 RawLibrary* root_library_; | 549 RawLibrary* root_library_; |
| 542 RawLibrary* typed_data_library_; | 550 RawLibrary* typed_data_library_; |
| 543 RawLibrary* vmservice_library_; | 551 RawLibrary* vmservice_library_; |
| 544 RawGrowableObjectArray* libraries_; | 552 RawGrowableObjectArray* libraries_; |
| 553 RawGrowableObjectArray* closure_functions_; |
| 545 RawGrowableObjectArray* pending_classes_; | 554 RawGrowableObjectArray* pending_classes_; |
| 546 RawGrowableObjectArray* pending_deferred_loads_; | 555 RawGrowableObjectArray* pending_deferred_loads_; |
| 547 RawGrowableObjectArray* resume_capabilities_; | 556 RawGrowableObjectArray* resume_capabilities_; |
| 548 RawGrowableObjectArray* exit_listeners_; | 557 RawGrowableObjectArray* exit_listeners_; |
| 549 RawGrowableObjectArray* error_listeners_; | 558 RawGrowableObjectArray* error_listeners_; |
| 550 RawError* sticky_error_; | 559 RawError* sticky_error_; |
| 551 RawContext* empty_context_; | 560 RawContext* empty_context_; |
| 552 RawInstance* stack_overflow_; | 561 RawInstance* stack_overflow_; |
| 553 RawInstance* out_of_memory_; | 562 RawInstance* out_of_memory_; |
| 554 RawUnhandledException* preallocated_unhandled_exception_; | 563 RawUnhandledException* preallocated_unhandled_exception_; |
| (...skipping 18 matching lines...) Expand all Loading... |
| 573 friend class FullSnapshotWriter; | 582 friend class FullSnapshotWriter; |
| 574 friend class SnapshotReader; | 583 friend class SnapshotReader; |
| 575 friend class VmIsolateSnapshotReader; | 584 friend class VmIsolateSnapshotReader; |
| 576 | 585 |
| 577 DISALLOW_COPY_AND_ASSIGN(ObjectStore); | 586 DISALLOW_COPY_AND_ASSIGN(ObjectStore); |
| 578 }; | 587 }; |
| 579 | 588 |
| 580 } // namespace dart | 589 } // namespace dart |
| 581 | 590 |
| 582 #endif // VM_OBJECT_STORE_H_ | 591 #endif // VM_OBJECT_STORE_H_ |
| OLD | NEW |