| 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_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/class_table.h" | 10 #include "vm/class_table.h" |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 static intptr_t object_store_offset() { | 138 static intptr_t object_store_offset() { |
| 139 return OFFSET_OF(Isolate, object_store_); | 139 return OFFSET_OF(Isolate, object_store_); |
| 140 } | 140 } |
| 141 | 141 |
| 142 RawContext* top_context() const { return top_context_; } | 142 RawContext* top_context() const { return top_context_; } |
| 143 void set_top_context(RawContext* value) { top_context_ = value; } | 143 void set_top_context(RawContext* value) { top_context_ = value; } |
| 144 static intptr_t top_context_offset() { | 144 static intptr_t top_context_offset() { |
| 145 return OFFSET_OF(Isolate, top_context_); | 145 return OFFSET_OF(Isolate, top_context_); |
| 146 } | 146 } |
| 147 | 147 |
| 148 int32_t random_seed() const { return random_seed_; } | |
| 149 void set_random_seed(int32_t value) { random_seed_ = value; } | |
| 150 | |
| 151 uword top_exit_frame_info() const { return top_exit_frame_info_; } | 148 uword top_exit_frame_info() const { return top_exit_frame_info_; } |
| 152 void set_top_exit_frame_info(uword value) { top_exit_frame_info_ = value; } | 149 void set_top_exit_frame_info(uword value) { top_exit_frame_info_ = value; } |
| 153 static intptr_t top_exit_frame_info_offset() { | 150 static intptr_t top_exit_frame_info_offset() { |
| 154 return OFFSET_OF(Isolate, top_exit_frame_info_); | 151 return OFFSET_OF(Isolate, top_exit_frame_info_); |
| 155 } | 152 } |
| 156 | 153 |
| 157 ApiState* api_state() const { return api_state_; } | 154 ApiState* api_state() const { return api_state_; } |
| 158 void set_api_state(ApiState* value) { api_state_ = value; } | 155 void set_api_state(ApiState* value) { api_state_ = value; } |
| 159 | 156 |
| 160 StubCode* stub_code() const { return stub_code_; } | 157 StubCode* stub_code() const { return stub_code_; } |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 static ThreadLocalKey isolate_key; | 316 static ThreadLocalKey isolate_key; |
| 320 StoreBufferBlock store_buffer_block_; | 317 StoreBufferBlock store_buffer_block_; |
| 321 StoreBuffer store_buffer_; | 318 StoreBuffer store_buffer_; |
| 322 ClassTable class_table_; | 319 ClassTable class_table_; |
| 323 Dart_MessageNotifyCallback message_notify_callback_; | 320 Dart_MessageNotifyCallback message_notify_callback_; |
| 324 char* name_; | 321 char* name_; |
| 325 Dart_Port main_port_; | 322 Dart_Port main_port_; |
| 326 Heap* heap_; | 323 Heap* heap_; |
| 327 ObjectStore* object_store_; | 324 ObjectStore* object_store_; |
| 328 RawContext* top_context_; | 325 RawContext* top_context_; |
| 329 int32_t random_seed_; | |
| 330 uword top_exit_frame_info_; | 326 uword top_exit_frame_info_; |
| 331 void* init_callback_data_; | 327 void* init_callback_data_; |
| 332 Dart_LibraryTagHandler library_tag_handler_; | 328 Dart_LibraryTagHandler library_tag_handler_; |
| 333 ApiState* api_state_; | 329 ApiState* api_state_; |
| 334 StubCode* stub_code_; | 330 StubCode* stub_code_; |
| 335 Debugger* debugger_; | 331 Debugger* debugger_; |
| 336 LongJump* long_jump_base_; | 332 LongJump* long_jump_base_; |
| 337 TimerList timer_list_; | 333 TimerList timer_list_; |
| 338 intptr_t deopt_id_; | 334 intptr_t deopt_id_; |
| 339 RawArray* ic_data_array_; | 335 RawArray* ic_data_array_; |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 419 Isolate* new_isolate_; | 415 Isolate* new_isolate_; |
| 420 Isolate* saved_isolate_; | 416 Isolate* saved_isolate_; |
| 421 uword saved_stack_limit_; | 417 uword saved_stack_limit_; |
| 422 | 418 |
| 423 DISALLOW_COPY_AND_ASSIGN(SwitchIsolateScope); | 419 DISALLOW_COPY_AND_ASSIGN(SwitchIsolateScope); |
| 424 }; | 420 }; |
| 425 | 421 |
| 426 } // namespace dart | 422 } // namespace dart |
| 427 | 423 |
| 428 #endif // VM_ISOLATE_H_ | 424 #endif // VM_ISOLATE_H_ |
| OLD | NEW |