| 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 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 392 deopt_id_(0), | 392 deopt_id_(0), |
| 393 mutex_(new Mutex()), | 393 mutex_(new Mutex()), |
| 394 stack_limit_(0), | 394 stack_limit_(0), |
| 395 saved_stack_limit_(0), | 395 saved_stack_limit_(0), |
| 396 message_handler_(NULL), | 396 message_handler_(NULL), |
| 397 spawn_data_(0), | 397 spawn_data_(0), |
| 398 is_runnable_(false), | 398 is_runnable_(false), |
| 399 running_state_(kIsolateWaiting), | 399 running_state_(kIsolateWaiting), |
| 400 gc_prologue_callbacks_(), | 400 gc_prologue_callbacks_(), |
| 401 gc_epilogue_callbacks_(), | 401 gc_epilogue_callbacks_(), |
| 402 defer_finalization_count_(0), |
| 402 deopt_cpu_registers_copy_(NULL), | 403 deopt_cpu_registers_copy_(NULL), |
| 403 deopt_fpu_registers_copy_(NULL), | 404 deopt_fpu_registers_copy_(NULL), |
| 404 deopt_frame_copy_(NULL), | 405 deopt_frame_copy_(NULL), |
| 405 deopt_frame_copy_size_(0), | 406 deopt_frame_copy_size_(0), |
| 406 deferred_boxes_(NULL), | 407 deferred_boxes_(NULL), |
| 407 deferred_object_refs_(NULL), | 408 deferred_object_refs_(NULL), |
| 408 deferred_objects_count_(0), | 409 deferred_objects_count_(0), |
| 409 deferred_objects_(NULL), | 410 deferred_objects_(NULL), |
| 410 stacktrace_(NULL), | 411 stacktrace_(NULL), |
| 411 stack_frame_index_(-1), | 412 stack_frame_index_(-1), |
| (...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1158 return func.raw(); | 1159 return func.raw(); |
| 1159 } | 1160 } |
| 1160 | 1161 |
| 1161 | 1162 |
| 1162 void IsolateSpawnState::Cleanup() { | 1163 void IsolateSpawnState::Cleanup() { |
| 1163 SwitchIsolateScope switch_scope(isolate()); | 1164 SwitchIsolateScope switch_scope(isolate()); |
| 1164 Dart::ShutdownIsolate(); | 1165 Dart::ShutdownIsolate(); |
| 1165 } | 1166 } |
| 1166 | 1167 |
| 1167 } // namespace dart | 1168 } // namespace dart |
| OLD | NEW |