| 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 "platform/thread.h" | 10 #include "platform/thread.h" |
| (...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 451 } | 451 } |
| 452 | 452 |
| 453 void set_profiler_data(IsolateProfilerData* profiler_data) { | 453 void set_profiler_data(IsolateProfilerData* profiler_data) { |
| 454 profiler_data_ = profiler_data; | 454 profiler_data_ = profiler_data; |
| 455 } | 455 } |
| 456 | 456 |
| 457 IsolateProfilerData* profiler_data() const { | 457 IsolateProfilerData* profiler_data() const { |
| 458 return profiler_data_; | 458 return profiler_data_; |
| 459 } | 459 } |
| 460 | 460 |
| 461 void PrintToJSONStream(JSONStream* stream, bool ref = true); | 461 void PrintJSON(JSONStream* stream, bool ref = true); |
| 462 | 462 |
| 463 void set_thread_state(InterruptableThreadState* state) { | 463 void set_thread_state(InterruptableThreadState* state) { |
| 464 ASSERT((thread_state_ == NULL) || (state == NULL)); | 464 ASSERT((thread_state_ == NULL) || (state == NULL)); |
| 465 thread_state_ = state; | 465 thread_state_ = state; |
| 466 } | 466 } |
| 467 | 467 |
| 468 InterruptableThreadState* thread_state() const { | 468 InterruptableThreadState* thread_state() const { |
| 469 return thread_state_; | 469 return thread_state_; |
| 470 } | 470 } |
| 471 | 471 |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 718 char* script_url_; | 718 char* script_url_; |
| 719 char* library_url_; | 719 char* library_url_; |
| 720 char* class_name_; | 720 char* class_name_; |
| 721 char* function_name_; | 721 char* function_name_; |
| 722 char* exception_callback_name_; | 722 char* exception_callback_name_; |
| 723 }; | 723 }; |
| 724 | 724 |
| 725 } // namespace dart | 725 } // namespace dart |
| 726 | 726 |
| 727 #endif // VM_ISOLATE_H_ | 727 #endif // VM_ISOLATE_H_ |
| OLD | NEW |