| 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 RUNTIME_VM_ISOLATE_H_ | 5 #ifndef RUNTIME_VM_ISOLATE_H_ |
| 6 #define RUNTIME_VM_ISOLATE_H_ | 6 #define RUNTIME_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 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 248 environment_callback_ = value; | 248 environment_callback_ = value; |
| 249 } | 249 } |
| 250 | 250 |
| 251 Dart_LibraryTagHandler library_tag_handler() const { | 251 Dart_LibraryTagHandler library_tag_handler() const { |
| 252 return library_tag_handler_; | 252 return library_tag_handler_; |
| 253 } | 253 } |
| 254 void set_library_tag_handler(Dart_LibraryTagHandler value) { | 254 void set_library_tag_handler(Dart_LibraryTagHandler value) { |
| 255 library_tag_handler_ = value; | 255 library_tag_handler_ = value; |
| 256 } | 256 } |
| 257 | 257 |
| 258 void SetupInstructionsSnapshotPage( | 258 void SetupImagePage(const uint8_t* snapshot_buffer, bool is_executable); |
| 259 const uint8_t* instructions_snapshot_buffer); | |
| 260 void SetupDataSnapshotPage(const uint8_t* instructions_snapshot_buffer); | |
| 261 | 259 |
| 262 void ScheduleMessageInterrupts(); | 260 void ScheduleMessageInterrupts(); |
| 263 | 261 |
| 264 // Marks all libraries as loaded. | 262 // Marks all libraries as loaded. |
| 265 void DoneLoading(); | 263 void DoneLoading(); |
| 266 void DoneFinalizing(); | 264 void DoneFinalizing(); |
| 267 | 265 |
| 268 // By default the reload context is deleted. This parameter allows | 266 // By default the reload context is deleted. This parameter allows |
| 269 // the caller to delete is separately if it is still needed. | 267 // the caller to delete is separately if it is still needed. |
| 270 bool ReloadSources(JSONStream* js, | 268 bool ReloadSources(JSONStream* js, |
| (...skipping 724 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 995 intptr_t* spawn_count_; | 993 intptr_t* spawn_count_; |
| 996 | 994 |
| 997 Dart_IsolateFlags isolate_flags_; | 995 Dart_IsolateFlags isolate_flags_; |
| 998 bool paused_; | 996 bool paused_; |
| 999 bool errors_are_fatal_; | 997 bool errors_are_fatal_; |
| 1000 }; | 998 }; |
| 1001 | 999 |
| 1002 } // namespace dart | 1000 } // namespace dart |
| 1003 | 1001 |
| 1004 #endif // RUNTIME_VM_ISOLATE_H_ | 1002 #endif // RUNTIME_VM_ISOLATE_H_ |
| OLD | NEW |