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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 environment_callback_ = value; | 221 environment_callback_ = value; |
222 } | 222 } |
223 | 223 |
224 Dart_LibraryTagHandler library_tag_handler() const { | 224 Dart_LibraryTagHandler library_tag_handler() const { |
225 return library_tag_handler_; | 225 return library_tag_handler_; |
226 } | 226 } |
227 void set_library_tag_handler(Dart_LibraryTagHandler value) { | 227 void set_library_tag_handler(Dart_LibraryTagHandler value) { |
228 library_tag_handler_ = value; | 228 library_tag_handler_ = value; |
229 } | 229 } |
230 | 230 |
231 void SetupInstructionsSnapshotPage( | |
232 const uint8_t* instructions_snapshot_buffer); | |
233 void SetupDataSnapshotPage( | 231 void SetupDataSnapshotPage( |
234 const uint8_t* instructions_snapshot_buffer); | 232 const uint8_t* instructions_snapshot_buffer); |
235 | 233 |
236 void ScheduleMessageInterrupts(); | 234 void ScheduleMessageInterrupts(); |
237 | 235 |
238 // Marks all libraries as loaded. | 236 // Marks all libraries as loaded. |
239 void DoneLoading(); | 237 void DoneLoading(); |
240 | 238 |
241 bool MakeRunnable(); | 239 bool MakeRunnable(); |
242 void Run(); | 240 void Run(); |
(...skipping 660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
903 intptr_t* spawn_count_; | 901 intptr_t* spawn_count_; |
904 | 902 |
905 Dart_IsolateFlags isolate_flags_; | 903 Dart_IsolateFlags isolate_flags_; |
906 bool paused_; | 904 bool paused_; |
907 bool errors_are_fatal_; | 905 bool errors_are_fatal_; |
908 }; | 906 }; |
909 | 907 |
910 } // namespace dart | 908 } // namespace dart |
911 | 909 |
912 #endif // VM_ISOLATE_H_ | 910 #endif // VM_ISOLATE_H_ |
OLD | NEW |