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 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 : store_buffer_(), | 277 : store_buffer_(), |
278 message_notify_callback_(NULL), | 278 message_notify_callback_(NULL), |
279 name_(NULL), | 279 name_(NULL), |
280 start_time_(OS::GetCurrentTimeMicros()), | 280 start_time_(OS::GetCurrentTimeMicros()), |
281 main_port_(0), | 281 main_port_(0), |
282 heap_(NULL), | 282 heap_(NULL), |
283 object_store_(NULL), | 283 object_store_(NULL), |
284 top_context_(Context::null()), | 284 top_context_(Context::null()), |
285 top_exit_frame_info_(0), | 285 top_exit_frame_info_(0), |
286 init_callback_data_(NULL), | 286 init_callback_data_(NULL), |
| 287 environment_callback_(NULL), |
287 library_tag_handler_(NULL), | 288 library_tag_handler_(NULL), |
288 api_state_(NULL), | 289 api_state_(NULL), |
289 stub_code_(NULL), | 290 stub_code_(NULL), |
290 debugger_(NULL), | 291 debugger_(NULL), |
291 single_step_(false), | 292 single_step_(false), |
292 simulator_(NULL), | 293 simulator_(NULL), |
293 long_jump_base_(NULL), | 294 long_jump_base_(NULL), |
294 timer_list_(), | 295 timer_list_(), |
295 deopt_id_(0), | 296 deopt_id_(0), |
296 mutex_(new Mutex()), | 297 mutex_(new Mutex()), |
(...skipping 754 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1051 return func.raw(); | 1052 return func.raw(); |
1052 } | 1053 } |
1053 | 1054 |
1054 | 1055 |
1055 void IsolateSpawnState::Cleanup() { | 1056 void IsolateSpawnState::Cleanup() { |
1056 SwitchIsolateScope switch_scope(isolate()); | 1057 SwitchIsolateScope switch_scope(isolate()); |
1057 Dart::ShutdownIsolate(); | 1058 Dart::ShutdownIsolate(); |
1058 } | 1059 } |
1059 | 1060 |
1060 } // namespace dart | 1061 } // namespace dart |
OLD | NEW |