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 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 uint32_t y = raw_uint32x4->y(); | 305 uint32_t y = raw_uint32x4->y(); |
306 uint32_t z = raw_uint32x4->z(); | 306 uint32_t z = raw_uint32x4->z(); |
307 uint32_t w = raw_uint32x4->w(); | 307 uint32_t w = raw_uint32x4->w(); |
308 OS::PrintErr("materializing Uint32x4 at %"Px": %x,%x,%x,%x\n", | 308 OS::PrintErr("materializing Uint32x4 at %"Px": %x,%x,%x,%x\n", |
309 reinterpret_cast<uword>(slot()), x, y, z, w); | 309 reinterpret_cast<uword>(slot()), x, y, z, w); |
310 } | 310 } |
311 } | 311 } |
312 | 312 |
313 | 313 |
314 Isolate::Isolate() | 314 Isolate::Isolate() |
315 : store_buffer_block_(), | 315 : store_buffer_(), |
316 store_buffer_(), | |
317 message_notify_callback_(NULL), | 316 message_notify_callback_(NULL), |
318 name_(NULL), | 317 name_(NULL), |
319 start_time_(OS::GetCurrentTimeMicros()), | 318 start_time_(OS::GetCurrentTimeMicros()), |
320 main_port_(0), | 319 main_port_(0), |
321 heap_(NULL), | 320 heap_(NULL), |
322 object_store_(NULL), | 321 object_store_(NULL), |
323 top_context_(Context::null()), | 322 top_context_(Context::null()), |
324 top_exit_frame_info_(0), | 323 top_exit_frame_info_(0), |
325 init_callback_data_(NULL), | 324 init_callback_data_(NULL), |
326 library_tag_handler_(NULL), | 325 library_tag_handler_(NULL), |
(...skipping 750 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1077 return func.raw(); | 1076 return func.raw(); |
1078 } | 1077 } |
1079 | 1078 |
1080 | 1079 |
1081 void IsolateSpawnState::Cleanup() { | 1080 void IsolateSpawnState::Cleanup() { |
1082 SwitchIsolateScope switch_scope(isolate()); | 1081 SwitchIsolateScope switch_scope(isolate()); |
1083 Dart::ShutdownIsolate(); | 1082 Dart::ShutdownIsolate(); |
1084 } | 1083 } |
1085 | 1084 |
1086 } // namespace dart | 1085 } // namespace dart |
OLD | NEW |