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 "lib/mirrors.h" | 10 #include "lib/mirrors.h" |
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
382 main_port_(0), | 382 main_port_(0), |
383 heap_(NULL), | 383 heap_(NULL), |
384 object_store_(NULL), | 384 object_store_(NULL), |
385 top_context_(Context::null()), | 385 top_context_(Context::null()), |
386 top_exit_frame_info_(0), | 386 top_exit_frame_info_(0), |
387 init_callback_data_(NULL), | 387 init_callback_data_(NULL), |
388 library_tag_handler_(NULL), | 388 library_tag_handler_(NULL), |
389 api_state_(NULL), | 389 api_state_(NULL), |
390 stub_code_(NULL), | 390 stub_code_(NULL), |
391 debugger_(NULL), | 391 debugger_(NULL), |
| 392 single_step_(false), |
392 simulator_(NULL), | 393 simulator_(NULL), |
393 long_jump_base_(NULL), | 394 long_jump_base_(NULL), |
394 timer_list_(), | 395 timer_list_(), |
395 deopt_id_(0), | 396 deopt_id_(0), |
396 mutex_(new Mutex()), | 397 mutex_(new Mutex()), |
397 stack_limit_(0), | 398 stack_limit_(0), |
398 saved_stack_limit_(0), | 399 saved_stack_limit_(0), |
399 message_handler_(NULL), | 400 message_handler_(NULL), |
400 spawn_data_(0), | 401 spawn_data_(0), |
401 is_runnable_(false), | 402 is_runnable_(false), |
(...skipping 791 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1193 return func.raw(); | 1194 return func.raw(); |
1194 } | 1195 } |
1195 | 1196 |
1196 | 1197 |
1197 void IsolateSpawnState::Cleanup() { | 1198 void IsolateSpawnState::Cleanup() { |
1198 SwitchIsolateScope switch_scope(isolate()); | 1199 SwitchIsolateScope switch_scope(isolate()); |
1199 Dart::ShutdownIsolate(); | 1200 Dart::ShutdownIsolate(); |
1200 } | 1201 } |
1201 | 1202 |
1202 } // namespace dart | 1203 } // namespace dart |
OLD | NEW |