| 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 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 void set_vm_tag(uword tag) { | 237 void set_vm_tag(uword tag) { |
| 238 vm_tag_ = tag; | 238 vm_tag_ = tag; |
| 239 } | 239 } |
| 240 static intptr_t vm_tag_offset() { | 240 static intptr_t vm_tag_offset() { |
| 241 return OFFSET_OF(Isolate, vm_tag_); | 241 return OFFSET_OF(Isolate, vm_tag_); |
| 242 } | 242 } |
| 243 | 243 |
| 244 ApiState* api_state() const { return api_state_; } | 244 ApiState* api_state() const { return api_state_; } |
| 245 void set_api_state(ApiState* value) { api_state_ = value; } | 245 void set_api_state(ApiState* value) { api_state_ = value; } |
| 246 | 246 |
| 247 StubCode* stub_code() const { return stub_code_; } | |
| 248 void set_stub_code(StubCode* value) { stub_code_ = value; } | |
| 249 | |
| 250 LongJumpScope* long_jump_base() const { return long_jump_base_; } | 247 LongJumpScope* long_jump_base() const { return long_jump_base_; } |
| 251 void set_long_jump_base(LongJumpScope* value) { long_jump_base_ = value; } | 248 void set_long_jump_base(LongJumpScope* value) { long_jump_base_ = value; } |
| 252 | 249 |
| 253 TimerList& timer_list() { return timer_list_; } | 250 TimerList& timer_list() { return timer_list_; } |
| 254 | 251 |
| 255 void set_init_callback_data(void* value) { | 252 void set_init_callback_data(void* value) { |
| 256 init_callback_data_ = value; | 253 init_callback_data_ = value; |
| 257 } | 254 } |
| 258 void* init_callback_data() const { | 255 void* init_callback_data() const { |
| 259 return init_callback_data_; | 256 return init_callback_data_; |
| (...skipping 525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 785 uint64_t pause_capability_; | 782 uint64_t pause_capability_; |
| 786 uint64_t terminate_capability_; | 783 uint64_t terminate_capability_; |
| 787 bool errors_fatal_; | 784 bool errors_fatal_; |
| 788 Heap* heap_; | 785 Heap* heap_; |
| 789 ObjectStore* object_store_; | 786 ObjectStore* object_store_; |
| 790 uword top_exit_frame_info_; | 787 uword top_exit_frame_info_; |
| 791 void* init_callback_data_; | 788 void* init_callback_data_; |
| 792 Dart_EnvironmentCallback environment_callback_; | 789 Dart_EnvironmentCallback environment_callback_; |
| 793 Dart_LibraryTagHandler library_tag_handler_; | 790 Dart_LibraryTagHandler library_tag_handler_; |
| 794 ApiState* api_state_; | 791 ApiState* api_state_; |
| 795 StubCode* stub_code_; | |
| 796 Debugger* debugger_; | 792 Debugger* debugger_; |
| 797 bool single_step_; | 793 bool single_step_; |
| 798 bool resume_request_; | 794 bool resume_request_; |
| 799 bool has_compiled_; | 795 bool has_compiled_; |
| 800 Flags flags_; | 796 Flags flags_; |
| 801 Random random_; | 797 Random random_; |
| 802 Simulator* simulator_; | 798 Simulator* simulator_; |
| 803 LongJumpScope* long_jump_base_; | 799 LongJumpScope* long_jump_base_; |
| 804 TimerList timer_list_; | 800 TimerList timer_list_; |
| 805 intptr_t deopt_id_; | 801 intptr_t deopt_id_; |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1052 intptr_t serialized_args_len_; | 1048 intptr_t serialized_args_len_; |
| 1053 uint8_t* serialized_message_; | 1049 uint8_t* serialized_message_; |
| 1054 intptr_t serialized_message_len_; | 1050 intptr_t serialized_message_len_; |
| 1055 Isolate::Flags isolate_flags_; | 1051 Isolate::Flags isolate_flags_; |
| 1056 bool paused_; | 1052 bool paused_; |
| 1057 }; | 1053 }; |
| 1058 | 1054 |
| 1059 } // namespace dart | 1055 } // namespace dart |
| 1060 | 1056 |
| 1061 #endif // VM_ISOLATE_H_ | 1057 #endif // VM_ISOLATE_H_ |
| OLD | NEW |