OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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_ISOLATE_H_ | 5 #ifndef VM_ISOLATE_H_ |
6 #define VM_ISOLATE_H_ | 6 #define VM_ISOLATE_H_ |
7 | 7 |
8 #include "include/dart_api.h" | 8 #include "include/dart_api.h" |
9 #include "platform/assert.h" | 9 #include "platform/assert.h" |
10 #include "vm/base_isolate.h" | 10 #include "vm/base_isolate.h" |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 Heap* heap() const { return heap_; } | 180 Heap* heap() const { return heap_; } |
181 void set_heap(Heap* value) { heap_ = value; } | 181 void set_heap(Heap* value) { heap_ = value; } |
182 static intptr_t heap_offset() { return OFFSET_OF(Isolate, heap_); } | 182 static intptr_t heap_offset() { return OFFSET_OF(Isolate, heap_); } |
183 | 183 |
184 ObjectStore* object_store() const { return object_store_; } | 184 ObjectStore* object_store() const { return object_store_; } |
185 void set_object_store(ObjectStore* value) { object_store_ = value; } | 185 void set_object_store(ObjectStore* value) { object_store_ = value; } |
186 static intptr_t object_store_offset() { | 186 static intptr_t object_store_offset() { |
187 return OFFSET_OF(Isolate, object_store_); | 187 return OFFSET_OF(Isolate, object_store_); |
188 } | 188 } |
189 | 189 |
190 RawContext* top_context() const { return top_context_; } | |
191 void set_top_context(RawContext* value) { top_context_ = value; } | |
192 static intptr_t top_context_offset() { | |
193 return OFFSET_OF(Isolate, top_context_); | |
194 } | |
195 | |
196 uword top_exit_frame_info() const { return top_exit_frame_info_; } | 190 uword top_exit_frame_info() const { return top_exit_frame_info_; } |
197 void set_top_exit_frame_info(uword value) { top_exit_frame_info_ = value; } | 191 void set_top_exit_frame_info(uword value) { top_exit_frame_info_ = value; } |
198 static intptr_t top_exit_frame_info_offset() { | 192 static intptr_t top_exit_frame_info_offset() { |
199 return OFFSET_OF(Isolate, top_exit_frame_info_); | 193 return OFFSET_OF(Isolate, top_exit_frame_info_); |
200 } | 194 } |
201 | 195 |
202 static intptr_t vm_tag_offset() { | 196 static intptr_t vm_tag_offset() { |
203 return OFFSET_OF(Isolate, vm_tag_); | 197 return OFFSET_OF(Isolate, vm_tag_); |
204 } | 198 } |
205 | 199 |
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
633 ClassTable class_table_; | 627 ClassTable class_table_; |
634 MegamorphicCacheTable megamorphic_cache_table_; | 628 MegamorphicCacheTable megamorphic_cache_table_; |
635 Dart_MessageNotifyCallback message_notify_callback_; | 629 Dart_MessageNotifyCallback message_notify_callback_; |
636 char* name_; | 630 char* name_; |
637 int64_t start_time_; | 631 int64_t start_time_; |
638 Dart_Port main_port_; | 632 Dart_Port main_port_; |
639 uint64_t pause_capability_; | 633 uint64_t pause_capability_; |
640 uint64_t terminate_capability_; | 634 uint64_t terminate_capability_; |
641 Heap* heap_; | 635 Heap* heap_; |
642 ObjectStore* object_store_; | 636 ObjectStore* object_store_; |
643 RawContext* top_context_; | |
644 uword top_exit_frame_info_; | 637 uword top_exit_frame_info_; |
645 void* init_callback_data_; | 638 void* init_callback_data_; |
646 Dart_EnvironmentCallback environment_callback_; | 639 Dart_EnvironmentCallback environment_callback_; |
647 Dart_LibraryTagHandler library_tag_handler_; | 640 Dart_LibraryTagHandler library_tag_handler_; |
648 ApiState* api_state_; | 641 ApiState* api_state_; |
649 StubCode* stub_code_; | 642 StubCode* stub_code_; |
650 Debugger* debugger_; | 643 Debugger* debugger_; |
651 bool single_step_; | 644 bool single_step_; |
652 bool resume_request_; | 645 bool resume_request_; |
653 Random random_; | 646 Random random_; |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
855 char* exception_callback_name_; | 848 char* exception_callback_name_; |
856 uint8_t* serialized_args_; | 849 uint8_t* serialized_args_; |
857 intptr_t serialized_args_len_; | 850 intptr_t serialized_args_len_; |
858 uint8_t* serialized_message_; | 851 uint8_t* serialized_message_; |
859 intptr_t serialized_message_len_; | 852 intptr_t serialized_message_len_; |
860 }; | 853 }; |
861 | 854 |
862 } // namespace dart | 855 } // namespace dart |
863 | 856 |
864 #endif // VM_ISOLATE_H_ | 857 #endif // VM_ISOLATE_H_ |
OLD | NEW |