| 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 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 448 object_store_(NULL), | 448 object_store_(NULL), |
| 449 top_exit_frame_info_(0), | 449 top_exit_frame_info_(0), |
| 450 init_callback_data_(NULL), | 450 init_callback_data_(NULL), |
| 451 environment_callback_(NULL), | 451 environment_callback_(NULL), |
| 452 library_tag_handler_(NULL), | 452 library_tag_handler_(NULL), |
| 453 api_state_(NULL), | 453 api_state_(NULL), |
| 454 stub_code_(NULL), | 454 stub_code_(NULL), |
| 455 debugger_(NULL), | 455 debugger_(NULL), |
| 456 single_step_(false), | 456 single_step_(false), |
| 457 resume_request_(false), | 457 resume_request_(false), |
| 458 has_compiled_(false), |
| 459 strict_compilation_(false), |
| 458 random_(), | 460 random_(), |
| 459 simulator_(NULL), | 461 simulator_(NULL), |
| 460 long_jump_base_(NULL), | 462 long_jump_base_(NULL), |
| 461 timer_list_(), | 463 timer_list_(), |
| 462 deopt_id_(0), | 464 deopt_id_(0), |
| 463 mutex_(new Mutex()), | 465 mutex_(new Mutex()), |
| 464 stack_limit_(0), | 466 stack_limit_(0), |
| 465 saved_stack_limit_(0), | 467 saved_stack_limit_(0), |
| 466 stack_base_(0), | 468 stack_base_(0), |
| 467 stack_overflow_flags_(0), | 469 stack_overflow_flags_(0), |
| (...skipping 1178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1646 serialized_message_, serialized_message_len_); | 1648 serialized_message_, serialized_message_len_); |
| 1647 } | 1649 } |
| 1648 | 1650 |
| 1649 | 1651 |
| 1650 void IsolateSpawnState::Cleanup() { | 1652 void IsolateSpawnState::Cleanup() { |
| 1651 SwitchIsolateScope switch_scope(I); | 1653 SwitchIsolateScope switch_scope(I); |
| 1652 Dart::ShutdownIsolate(); | 1654 Dart::ShutdownIsolate(); |
| 1653 } | 1655 } |
| 1654 | 1656 |
| 1655 } // namespace dart | 1657 } // namespace dart |
| OLD | NEW |