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 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
396 simulator_(NULL), | 396 simulator_(NULL), |
397 long_jump_base_(NULL), | 397 long_jump_base_(NULL), |
398 timer_list_(), | 398 timer_list_(), |
399 deopt_id_(0), | 399 deopt_id_(0), |
400 mutex_(new Mutex()), | 400 mutex_(new Mutex()), |
401 stack_limit_(0), | 401 stack_limit_(0), |
402 saved_stack_limit_(0), | 402 saved_stack_limit_(0), |
403 message_handler_(NULL), | 403 message_handler_(NULL), |
404 spawn_data_(0), | 404 spawn_data_(0), |
405 is_runnable_(false), | 405 is_runnable_(false), |
406 running_state_(kIsolateWaiting), | |
407 gc_prologue_callbacks_(), | 406 gc_prologue_callbacks_(), |
408 gc_epilogue_callbacks_(), | 407 gc_epilogue_callbacks_(), |
409 defer_finalization_count_(0), | 408 defer_finalization_count_(0), |
410 deopt_cpu_registers_copy_(NULL), | 409 deopt_cpu_registers_copy_(NULL), |
411 deopt_fpu_registers_copy_(NULL), | 410 deopt_fpu_registers_copy_(NULL), |
412 deopt_frame_copy_(NULL), | 411 deopt_frame_copy_(NULL), |
413 deopt_frame_copy_size_(0), | 412 deopt_frame_copy_size_(0), |
414 deferred_boxes_(NULL), | 413 deferred_boxes_(NULL), |
415 deferred_object_refs_(NULL), | 414 deferred_object_refs_(NULL), |
416 deferred_objects_count_(0), | 415 deferred_objects_count_(0), |
(...skipping 782 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1199 return func.raw(); | 1198 return func.raw(); |
1200 } | 1199 } |
1201 | 1200 |
1202 | 1201 |
1203 void IsolateSpawnState::Cleanup() { | 1202 void IsolateSpawnState::Cleanup() { |
1204 SwitchIsolateScope switch_scope(isolate()); | 1203 SwitchIsolateScope switch_scope(isolate()); |
1205 Dart::ShutdownIsolate(); | 1204 Dart::ShutdownIsolate(); |
1206 } | 1205 } |
1207 | 1206 |
1208 } // namespace dart | 1207 } // namespace dart |
OLD | NEW |