| 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 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 435 } | 435 } |
| 436 void clear_sticky_error() { sticky_error_ = Error::null(); } | 436 void clear_sticky_error() { sticky_error_ = Error::null(); } |
| 437 | 437 |
| 438 RawString* unhandled_exception_handler() const { | 438 RawString* unhandled_exception_handler() const { |
| 439 return unhandled_exception_handler_; | 439 return unhandled_exception_handler_; |
| 440 } | 440 } |
| 441 void set_unhandled_exception_handler(const String& value) { | 441 void set_unhandled_exception_handler(const String& value) { |
| 442 unhandled_exception_handler_ = value.raw(); | 442 unhandled_exception_handler_ = value.raw(); |
| 443 } | 443 } |
| 444 | 444 |
| 445 RawBool* true_value() const { return true_value_; } | |
| 446 void set_true_value(const Bool& value) { true_value_ = value.raw(); } | |
| 447 | |
| 448 RawBool* false_value() const { return false_value_; } | |
| 449 void set_false_value(const Bool& value) { false_value_ = value.raw(); } | |
| 450 | |
| 451 RawContext* empty_context() const { return empty_context_; } | 445 RawContext* empty_context() const { return empty_context_; } |
| 452 void set_empty_context(const Context& value) { | 446 void set_empty_context(const Context& value) { |
| 453 empty_context_ = value.raw(); | 447 empty_context_ = value.raw(); |
| 454 } | 448 } |
| 455 | 449 |
| 456 RawInstance* stack_overflow() const { return stack_overflow_; } | 450 RawInstance* stack_overflow() const { return stack_overflow_; } |
| 457 void set_stack_overflow(const Instance& value) { | 451 void set_stack_overflow(const Instance& value) { |
| 458 stack_overflow_ = value.raw(); | 452 stack_overflow_ = value.raw(); |
| 459 } | 453 } |
| 460 | 454 |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 552 RawClass* external_uint16_array_class_; | 546 RawClass* external_uint16_array_class_; |
| 553 RawClass* external_int32_array_class_; | 547 RawClass* external_int32_array_class_; |
| 554 RawClass* external_uint32_array_class_; | 548 RawClass* external_uint32_array_class_; |
| 555 RawClass* external_int64_array_class_; | 549 RawClass* external_int64_array_class_; |
| 556 RawClass* external_uint64_array_class_; | 550 RawClass* external_uint64_array_class_; |
| 557 RawClass* external_float32_array_class_; | 551 RawClass* external_float32_array_class_; |
| 558 RawClass* external_float64_array_class_; | 552 RawClass* external_float64_array_class_; |
| 559 RawClass* stacktrace_class_; | 553 RawClass* stacktrace_class_; |
| 560 RawClass* jsregexp_class_; | 554 RawClass* jsregexp_class_; |
| 561 RawClass* weak_property_class_; | 555 RawClass* weak_property_class_; |
| 562 RawBool* true_value_; | |
| 563 RawBool* false_value_; | |
| 564 RawArray* symbol_table_; | 556 RawArray* symbol_table_; |
| 565 RawArray* canonical_type_arguments_; | 557 RawArray* canonical_type_arguments_; |
| 566 RawLibrary* core_library_; | 558 RawLibrary* core_library_; |
| 567 RawLibrary* core_impl_library_; | 559 RawLibrary* core_impl_library_; |
| 568 RawLibrary* collection_library_; | 560 RawLibrary* collection_library_; |
| 569 RawLibrary* math_library_; | 561 RawLibrary* math_library_; |
| 570 RawLibrary* isolate_library_; | 562 RawLibrary* isolate_library_; |
| 571 RawLibrary* mirrors_library_; | 563 RawLibrary* mirrors_library_; |
| 572 RawLibrary* scalarlist_library_; | 564 RawLibrary* scalarlist_library_; |
| 573 RawLibrary* native_wrappers_library_; | 565 RawLibrary* native_wrappers_library_; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 587 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } | 579 RawObject** to() { return reinterpret_cast<RawObject**>(&keyword_symbols_); } |
| 588 | 580 |
| 589 friend class SnapshotReader; | 581 friend class SnapshotReader; |
| 590 | 582 |
| 591 DISALLOW_COPY_AND_ASSIGN(ObjectStore); | 583 DISALLOW_COPY_AND_ASSIGN(ObjectStore); |
| 592 }; | 584 }; |
| 593 | 585 |
| 594 } // namespace dart | 586 } // namespace dart |
| 595 | 587 |
| 596 #endif // VM_OBJECT_STORE_H_ | 588 #endif // VM_OBJECT_STORE_H_ |
| OLD | NEW |