| 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 | |
| 195 ApiState* api_state() const { return api_state_; } | 191 ApiState* api_state() const { return api_state_; } |
| 196 void set_api_state(ApiState* value) { api_state_ = value; } | 192 void set_api_state(ApiState* value) { api_state_ = value; } |
| 197 | 193 |
| 198 void set_init_callback_data(void* value) { | 194 void set_init_callback_data(void* value) { |
| 199 init_callback_data_ = value; | 195 init_callback_data_ = value; |
| 200 } | 196 } |
| 201 void* init_callback_data() const { | 197 void* init_callback_data() const { |
| 202 return init_callback_data_; | 198 return init_callback_data_; |
| 203 } | 199 } |
| 204 | 200 |
| (...skipping 824 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1029 uint8_t* serialized_message_; | 1025 uint8_t* serialized_message_; |
| 1030 intptr_t serialized_message_len_; | 1026 intptr_t serialized_message_len_; |
| 1031 Isolate::Flags isolate_flags_; | 1027 Isolate::Flags isolate_flags_; |
| 1032 bool paused_; | 1028 bool paused_; |
| 1033 bool errors_are_fatal_; | 1029 bool errors_are_fatal_; |
| 1034 }; | 1030 }; |
| 1035 | 1031 |
| 1036 } // namespace dart | 1032 } // namespace dart |
| 1037 | 1033 |
| 1038 #endif // VM_ISOLATE_H_ | 1034 #endif // VM_ISOLATE_H_ |
| OLD | NEW |