| 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 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 384 : store_buffer_(), | 384 : store_buffer_(), |
| 385 message_notify_callback_(NULL), | 385 message_notify_callback_(NULL), |
| 386 name_(NULL), | 386 name_(NULL), |
| 387 start_time_(OS::GetCurrentTimeMicros()), | 387 start_time_(OS::GetCurrentTimeMicros()), |
| 388 main_port_(0), | 388 main_port_(0), |
| 389 heap_(NULL), | 389 heap_(NULL), |
| 390 object_store_(NULL), | 390 object_store_(NULL), |
| 391 top_context_(Context::null()), | 391 top_context_(Context::null()), |
| 392 top_exit_frame_info_(0), | 392 top_exit_frame_info_(0), |
| 393 init_callback_data_(NULL), | 393 init_callback_data_(NULL), |
| 394 config_callback_(NULL), |
| 394 library_tag_handler_(NULL), | 395 library_tag_handler_(NULL), |
| 395 api_state_(NULL), | 396 api_state_(NULL), |
| 396 stub_code_(NULL), | 397 stub_code_(NULL), |
| 397 debugger_(NULL), | 398 debugger_(NULL), |
| 398 single_step_(false), | 399 single_step_(false), |
| 399 simulator_(NULL), | 400 simulator_(NULL), |
| 400 long_jump_base_(NULL), | 401 long_jump_base_(NULL), |
| 401 timer_list_(), | 402 timer_list_(), |
| 402 deopt_id_(0), | 403 deopt_id_(0), |
| 403 mutex_(new Mutex()), | 404 mutex_(new Mutex()), |
| (...skipping 783 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1187 return func.raw(); | 1188 return func.raw(); |
| 1188 } | 1189 } |
| 1189 | 1190 |
| 1190 | 1191 |
| 1191 void IsolateSpawnState::Cleanup() { | 1192 void IsolateSpawnState::Cleanup() { |
| 1192 SwitchIsolateScope switch_scope(isolate()); | 1193 SwitchIsolateScope switch_scope(isolate()); |
| 1193 Dart::ShutdownIsolate(); | 1194 Dart::ShutdownIsolate(); |
| 1194 } | 1195 } |
| 1195 | 1196 |
| 1196 } // namespace dart | 1197 } // namespace dart |
| OLD | NEW |