| 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 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 331 long_jump_base_(NULL), | 331 long_jump_base_(NULL), |
| 332 timer_list_(), | 332 timer_list_(), |
| 333 deopt_id_(0), | 333 deopt_id_(0), |
| 334 ic_data_array_(Array::null()), | 334 ic_data_array_(Array::null()), |
| 335 mutex_(new Mutex()), | 335 mutex_(new Mutex()), |
| 336 stack_limit_(0), | 336 stack_limit_(0), |
| 337 saved_stack_limit_(0), | 337 saved_stack_limit_(0), |
| 338 message_handler_(NULL), | 338 message_handler_(NULL), |
| 339 spawn_data_(0), | 339 spawn_data_(0), |
| 340 is_runnable_(false), | 340 is_runnable_(false), |
| 341 running_state_(kIsolateWaiting), |
| 341 gc_prologue_callbacks_(), | 342 gc_prologue_callbacks_(), |
| 342 gc_epilogue_callbacks_(), | 343 gc_epilogue_callbacks_(), |
| 343 deopt_cpu_registers_copy_(NULL), | 344 deopt_cpu_registers_copy_(NULL), |
| 344 deopt_fpu_registers_copy_(NULL), | 345 deopt_fpu_registers_copy_(NULL), |
| 345 deopt_frame_copy_(NULL), | 346 deopt_frame_copy_(NULL), |
| 346 deopt_frame_copy_size_(0), | 347 deopt_frame_copy_size_(0), |
| 347 deferred_objects_(NULL), | 348 deferred_objects_(NULL), |
| 348 stacktrace_(NULL), | 349 stacktrace_(NULL), |
| 349 stack_frame_index_(-1) { | 350 stack_frame_index_(-1) { |
| 350 } | 351 } |
| (...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1066 return func.raw(); | 1067 return func.raw(); |
| 1067 } | 1068 } |
| 1068 | 1069 |
| 1069 | 1070 |
| 1070 void IsolateSpawnState::Cleanup() { | 1071 void IsolateSpawnState::Cleanup() { |
| 1071 SwitchIsolateScope switch_scope(isolate()); | 1072 SwitchIsolateScope switch_scope(isolate()); |
| 1072 Dart::ShutdownIsolate(); | 1073 Dart::ShutdownIsolate(); |
| 1073 } | 1074 } |
| 1074 | 1075 |
| 1075 } // namespace dart | 1076 } // namespace dart |
| OLD | NEW |