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 #include "vm/isolate.h" | 5 #include "vm/isolate.h" |
6 | 6 |
7 #include "include/dart_api.h" | 7 #include "include/dart_api.h" |
8 #include "platform/assert.h" | 8 #include "platform/assert.h" |
9 #include "platform/json.h" | 9 #include "platform/json.h" |
10 #include "vm/code_observers.h" | 10 #include "vm/code_observers.h" |
(...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
654 environment_callback_(NULL), | 654 environment_callback_(NULL), |
655 library_tag_handler_(NULL), | 655 library_tag_handler_(NULL), |
656 api_state_(NULL), | 656 api_state_(NULL), |
657 debugger_(NULL), | 657 debugger_(NULL), |
658 single_step_(false), | 658 single_step_(false), |
659 resume_request_(false), | 659 resume_request_(false), |
660 has_compiled_(false), | 660 has_compiled_(false), |
661 flags_(), | 661 flags_(), |
662 random_(), | 662 random_(), |
663 simulator_(NULL), | 663 simulator_(NULL), |
664 long_jump_base_(NULL), | |
665 timer_list_(), | 664 timer_list_(), |
666 deopt_id_(0), | 665 deopt_id_(0), |
667 mutex_(new Mutex()), | 666 mutex_(new Mutex()), |
668 stack_limit_(0), | 667 stack_limit_(0), |
669 saved_stack_limit_(0), | 668 saved_stack_limit_(0), |
670 stack_base_(0), | 669 stack_base_(0), |
671 stack_overflow_flags_(0), | 670 stack_overflow_flags_(0), |
672 stack_overflow_count_(0), | 671 stack_overflow_count_(0), |
673 message_handler_(NULL), | 672 message_handler_(NULL), |
674 spawn_state_(NULL), | 673 spawn_state_(NULL), |
(...skipping 1490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2165 serialized_message_, serialized_message_len_); | 2164 serialized_message_, serialized_message_len_); |
2166 } | 2165 } |
2167 | 2166 |
2168 | 2167 |
2169 void IsolateSpawnState::Cleanup() { | 2168 void IsolateSpawnState::Cleanup() { |
2170 SwitchIsolateScope switch_scope(I); | 2169 SwitchIsolateScope switch_scope(I); |
2171 Dart::ShutdownIsolate(); | 2170 Dart::ShutdownIsolate(); |
2172 } | 2171 } |
2173 | 2172 |
2174 } // namespace dart | 2173 } // namespace dart |
OLD | NEW |