| 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); |
| 231 void SetupDataSnapshotPage( | 233 void SetupDataSnapshotPage( |
| 232 const uint8_t* instructions_snapshot_buffer); | 234 const uint8_t* instructions_snapshot_buffer); |
| 233 | 235 |
| 234 void ScheduleMessageInterrupts(); | 236 void ScheduleMessageInterrupts(); |
| 235 | 237 |
| 236 // Marks all libraries as loaded. | 238 // Marks all libraries as loaded. |
| 237 void DoneLoading(); | 239 void DoneLoading(); |
| 238 | 240 |
| 239 bool MakeRunnable(); | 241 bool MakeRunnable(); |
| 240 void Run(); | 242 void Run(); |
| (...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 926 intptr_t* spawn_count_; | 928 intptr_t* spawn_count_; |
| 927 | 929 |
| 928 Dart_IsolateFlags isolate_flags_; | 930 Dart_IsolateFlags isolate_flags_; |
| 929 bool paused_; | 931 bool paused_; |
| 930 bool errors_are_fatal_; | 932 bool errors_are_fatal_; |
| 931 }; | 933 }; |
| 932 | 934 |
| 933 } // namespace dart | 935 } // namespace dart |
| 934 | 936 |
| 935 #endif // VM_ISOLATE_H_ | 937 #endif // VM_ISOLATE_H_ |
| OLD | NEW |