| 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 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 365 return shutdown_callback_; | 365 return shutdown_callback_; |
| 366 } | 366 } |
| 367 | 367 |
| 368 void set_object_id_ring(ObjectIdRing* ring) { | 368 void set_object_id_ring(ObjectIdRing* ring) { |
| 369 object_id_ring_ = ring; | 369 object_id_ring_ = ring; |
| 370 } | 370 } |
| 371 ObjectIdRing* object_id_ring() { | 371 ObjectIdRing* object_id_ring() { |
| 372 return object_id_ring_; | 372 return object_id_ring_; |
| 373 } | 373 } |
| 374 | 374 |
| 375 bool IsDeoptimizing() const { return deopt_context_ != NULL; } |
| 375 DeoptContext* deopt_context() const { return deopt_context_; } | 376 DeoptContext* deopt_context() const { return deopt_context_; } |
| 376 void set_deopt_context(DeoptContext* value) { | 377 void set_deopt_context(DeoptContext* value) { |
| 377 ASSERT(value == NULL || deopt_context_ == NULL); | 378 ASSERT(value == NULL || deopt_context_ == NULL); |
| 378 deopt_context_ = value; | 379 deopt_context_ = value; |
| 379 } | 380 } |
| 380 | 381 |
| 381 BackgroundCompiler* background_compiler() const { | 382 BackgroundCompiler* background_compiler() const { |
| 382 return background_compiler_; | 383 return background_compiler_; |
| 383 } | 384 } |
| 384 void set_background_compiler(BackgroundCompiler* value) { | 385 void set_background_compiler(BackgroundCompiler* value) { |
| (...skipping 517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 902 intptr_t* spawn_count_; | 903 intptr_t* spawn_count_; |
| 903 | 904 |
| 904 Dart_IsolateFlags isolate_flags_; | 905 Dart_IsolateFlags isolate_flags_; |
| 905 bool paused_; | 906 bool paused_; |
| 906 bool errors_are_fatal_; | 907 bool errors_are_fatal_; |
| 907 }; | 908 }; |
| 908 | 909 |
| 909 } // namespace dart | 910 } // namespace dart |
| 910 | 911 |
| 911 #endif // VM_ISOLATE_H_ | 912 #endif // VM_ISOLATE_H_ |
| OLD | NEW |