| 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/atomic.h" | 10 #include "vm/atomic.h" |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 | 181 |
| 182 void SendInternalLibMessage(LibMsgId msg_id, uint64_t capability); | 182 void SendInternalLibMessage(LibMsgId msg_id, uint64_t capability); |
| 183 | 183 |
| 184 Heap* heap() const { return heap_; } | 184 Heap* heap() const { return heap_; } |
| 185 void set_heap(Heap* value) { heap_ = value; } | 185 void set_heap(Heap* value) { heap_ = value; } |
| 186 static intptr_t heap_offset() { return OFFSET_OF(Isolate, heap_); } | 186 static intptr_t heap_offset() { return OFFSET_OF(Isolate, heap_); } |
| 187 | 187 |
| 188 ObjectStore* object_store() const { return object_store_; } | 188 ObjectStore* object_store() const { return object_store_; } |
| 189 void set_object_store(ObjectStore* value) { object_store_ = value; } | 189 void set_object_store(ObjectStore* value) { object_store_ = value; } |
| 190 | 190 |
| 191 uword top_exit_frame_info() const { |
| 192 return mutator_thread_->top_exit_frame_info(); |
| 193 } |
| 194 |
| 191 ApiState* api_state() const { return api_state_; } | 195 ApiState* api_state() const { return api_state_; } |
| 192 void set_api_state(ApiState* value) { api_state_ = value; } | 196 void set_api_state(ApiState* value) { api_state_ = value; } |
| 193 | 197 |
| 194 void set_init_callback_data(void* value) { | 198 void set_init_callback_data(void* value) { |
| 195 init_callback_data_ = value; | 199 init_callback_data_ = value; |
| 196 } | 200 } |
| 197 void* init_callback_data() const { | 201 void* init_callback_data() const { |
| 198 return init_callback_data_; | 202 return init_callback_data_; |
| 199 } | 203 } |
| 200 | 204 |
| (...skipping 824 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1025 uint8_t* serialized_message_; | 1029 uint8_t* serialized_message_; |
| 1026 intptr_t serialized_message_len_; | 1030 intptr_t serialized_message_len_; |
| 1027 Isolate::Flags isolate_flags_; | 1031 Isolate::Flags isolate_flags_; |
| 1028 bool paused_; | 1032 bool paused_; |
| 1029 bool errors_are_fatal_; | 1033 bool errors_are_fatal_; |
| 1030 }; | 1034 }; |
| 1031 | 1035 |
| 1032 } // namespace dart | 1036 } // namespace dart |
| 1033 | 1037 |
| 1034 #endif // VM_ISOLATE_H_ | 1038 #endif // VM_ISOLATE_H_ |
| OLD | NEW |