| 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 RUNTIME_VM_OBJECT_STORE_H_ | 5 #ifndef RUNTIME_VM_OBJECT_STORE_H_ |
| 6 #define RUNTIME_VM_OBJECT_STORE_H_ | 6 #define RUNTIME_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 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 334 } | 334 } |
| 335 | 335 |
| 336 RawGrowableObjectArray* resume_capabilities() const { | 336 RawGrowableObjectArray* resume_capabilities() const { |
| 337 return resume_capabilities_; | 337 return resume_capabilities_; |
| 338 } | 338 } |
| 339 | 339 |
| 340 RawGrowableObjectArray* exit_listeners() const { return exit_listeners_; } | 340 RawGrowableObjectArray* exit_listeners() const { return exit_listeners_; } |
| 341 | 341 |
| 342 RawGrowableObjectArray* error_listeners() const { return error_listeners_; } | 342 RawGrowableObjectArray* error_listeners() const { return error_listeners_; } |
| 343 | 343 |
| 344 RawContext* empty_context() const { return empty_context_; } | |
| 345 void set_empty_context(const Context& value) { empty_context_ = value.raw(); } | |
| 346 | |
| 347 RawInstance* stack_overflow() const { return stack_overflow_; } | 344 RawInstance* stack_overflow() const { return stack_overflow_; } |
| 348 void set_stack_overflow(const Instance& value) { | 345 void set_stack_overflow(const Instance& value) { |
| 349 stack_overflow_ = value.raw(); | 346 stack_overflow_ = value.raw(); |
| 350 } | 347 } |
| 351 | 348 |
| 352 RawInstance* out_of_memory() const { return out_of_memory_; } | 349 RawInstance* out_of_memory() const { return out_of_memory_; } |
| 353 void set_out_of_memory(const Instance& value) { | 350 void set_out_of_memory(const Instance& value) { |
| 354 out_of_memory_ = value.raw(); | 351 out_of_memory_ = value.raw(); |
| 355 } | 352 } |
| 356 | 353 |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 562 V(RawLibrary*, typed_data_library_) \ | 559 V(RawLibrary*, typed_data_library_) \ |
| 563 V(RawLibrary*, _vmservice_library_) \ | 560 V(RawLibrary*, _vmservice_library_) \ |
| 564 V(RawGrowableObjectArray*, libraries_) \ | 561 V(RawGrowableObjectArray*, libraries_) \ |
| 565 V(RawArray*, libraries_map_) \ | 562 V(RawArray*, libraries_map_) \ |
| 566 V(RawGrowableObjectArray*, closure_functions_) \ | 563 V(RawGrowableObjectArray*, closure_functions_) \ |
| 567 V(RawGrowableObjectArray*, pending_classes_) \ | 564 V(RawGrowableObjectArray*, pending_classes_) \ |
| 568 V(RawGrowableObjectArray*, pending_deferred_loads_) \ | 565 V(RawGrowableObjectArray*, pending_deferred_loads_) \ |
| 569 V(RawGrowableObjectArray*, resume_capabilities_) \ | 566 V(RawGrowableObjectArray*, resume_capabilities_) \ |
| 570 V(RawGrowableObjectArray*, exit_listeners_) \ | 567 V(RawGrowableObjectArray*, exit_listeners_) \ |
| 571 V(RawGrowableObjectArray*, error_listeners_) \ | 568 V(RawGrowableObjectArray*, error_listeners_) \ |
| 572 V(RawContext*, empty_context_) \ | |
| 573 V(RawInstance*, stack_overflow_) \ | 569 V(RawInstance*, stack_overflow_) \ |
| 574 V(RawInstance*, out_of_memory_) \ | 570 V(RawInstance*, out_of_memory_) \ |
| 575 V(RawUnhandledException*, preallocated_unhandled_exception_) \ | 571 V(RawUnhandledException*, preallocated_unhandled_exception_) \ |
| 576 V(RawStackTrace*, preallocated_stack_trace_) \ | 572 V(RawStackTrace*, preallocated_stack_trace_) \ |
| 577 V(RawFunction*, lookup_port_handler_) \ | 573 V(RawFunction*, lookup_port_handler_) \ |
| 578 V(RawTypedData*, empty_uint32_array_) \ | 574 V(RawTypedData*, empty_uint32_array_) \ |
| 579 V(RawFunction*, handle_message_function_) \ | 575 V(RawFunction*, handle_message_function_) \ |
| 580 V(RawFunction*, simple_instance_of_function_) \ | 576 V(RawFunction*, simple_instance_of_function_) \ |
| 581 V(RawFunction*, simple_instance_of_true_function_) \ | 577 V(RawFunction*, simple_instance_of_true_function_) \ |
| 582 V(RawFunction*, simple_instance_of_false_function_) \ | 578 V(RawFunction*, simple_instance_of_false_function_) \ |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 620 | 616 |
| 621 friend class Serializer; | 617 friend class Serializer; |
| 622 friend class Deserializer; | 618 friend class Deserializer; |
| 623 | 619 |
| 624 DISALLOW_COPY_AND_ASSIGN(ObjectStore); | 620 DISALLOW_COPY_AND_ASSIGN(ObjectStore); |
| 625 }; | 621 }; |
| 626 | 622 |
| 627 } // namespace dart | 623 } // namespace dart |
| 628 | 624 |
| 629 #endif // RUNTIME_VM_OBJECT_STORE_H_ | 625 #endif // RUNTIME_VM_OBJECT_STORE_H_ |
| OLD | NEW |