| 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 "platform/thread.h" | 10 #include "platform/thread.h" |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 static intptr_t top_context_offset() { | 169 static intptr_t top_context_offset() { |
| 170 return OFFSET_OF(Isolate, top_context_); | 170 return OFFSET_OF(Isolate, top_context_); |
| 171 } | 171 } |
| 172 | 172 |
| 173 uword top_exit_frame_info() const { return top_exit_frame_info_; } | 173 uword top_exit_frame_info() const { return top_exit_frame_info_; } |
| 174 void set_top_exit_frame_info(uword value) { top_exit_frame_info_ = value; } | 174 void set_top_exit_frame_info(uword value) { top_exit_frame_info_ = value; } |
| 175 static intptr_t top_exit_frame_info_offset() { | 175 static intptr_t top_exit_frame_info_offset() { |
| 176 return OFFSET_OF(Isolate, top_exit_frame_info_); | 176 return OFFSET_OF(Isolate, top_exit_frame_info_); |
| 177 } | 177 } |
| 178 | 178 |
| 179 static intptr_t vm_tag_offset() { |
| 180 return OFFSET_OF(Isolate, vm_tag_); |
| 181 } |
| 182 |
| 179 ApiState* api_state() const { return api_state_; } | 183 ApiState* api_state() const { return api_state_; } |
| 180 void set_api_state(ApiState* value) { api_state_ = value; } | 184 void set_api_state(ApiState* value) { api_state_ = value; } |
| 181 | 185 |
| 182 StubCode* stub_code() const { return stub_code_; } | 186 StubCode* stub_code() const { return stub_code_; } |
| 183 void set_stub_code(StubCode* value) { stub_code_ = value; } | 187 void set_stub_code(StubCode* value) { stub_code_ = value; } |
| 184 | 188 |
| 185 LongJumpScope* long_jump_base() const { return long_jump_base_; } | 189 LongJumpScope* long_jump_base() const { return long_jump_base_; } |
| 186 void set_long_jump_base(LongJumpScope* value) { long_jump_base_ = value; } | 190 void set_long_jump_base(LongJumpScope* value) { long_jump_base_ = value; } |
| 187 | 191 |
| 188 TimerList& timer_list() { return timer_list_; } | 192 TimerList& timer_list() { return timer_list_; } |
| (...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 658 char* script_url_; | 662 char* script_url_; |
| 659 char* library_url_; | 663 char* library_url_; |
| 660 char* class_name_; | 664 char* class_name_; |
| 661 char* function_name_; | 665 char* function_name_; |
| 662 char* exception_callback_name_; | 666 char* exception_callback_name_; |
| 663 }; | 667 }; |
| 664 | 668 |
| 665 } // namespace dart | 669 } // namespace dart |
| 666 | 670 |
| 667 #endif // VM_ISOLATE_H_ | 671 #endif // VM_ISOLATE_H_ |
| OLD | NEW |