OLD | NEW |
1 // Copyright (c) 2012, 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 "lib/mirrors.h" | 9 #include "lib/mirrors.h" |
10 #include "vm/code_observers.h" | 10 #include "vm/code_observers.h" |
11 #include "vm/compiler_stats.h" | 11 #include "vm/compiler_stats.h" |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 deopt_id_(0), | 275 deopt_id_(0), |
276 ic_data_array_(Array::null()), | 276 ic_data_array_(Array::null()), |
277 mutex_(new Mutex()), | 277 mutex_(new Mutex()), |
278 stack_limit_(0), | 278 stack_limit_(0), |
279 saved_stack_limit_(0), | 279 saved_stack_limit_(0), |
280 message_handler_(NULL), | 280 message_handler_(NULL), |
281 spawn_data_(0), | 281 spawn_data_(0), |
282 gc_prologue_callbacks_(), | 282 gc_prologue_callbacks_(), |
283 gc_epilogue_callbacks_(), | 283 gc_epilogue_callbacks_(), |
284 deopt_cpu_registers_copy_(NULL), | 284 deopt_cpu_registers_copy_(NULL), |
285 deopt_xmm_registers_copy_(NULL), | 285 deopt_fpu_registers_copy_(NULL), |
286 deopt_frame_copy_(NULL), | 286 deopt_frame_copy_(NULL), |
287 deopt_frame_copy_size_(0), | 287 deopt_frame_copy_size_(0), |
288 deferred_doubles_(NULL), | 288 deferred_doubles_(NULL), |
289 deferred_mints_(NULL) { | 289 deferred_mints_(NULL) { |
290 } | 290 } |
291 | 291 |
292 | 292 |
293 Isolate::~Isolate() { | 293 Isolate::~Isolate() { |
294 delete [] name_; | 294 delete [] name_; |
295 delete heap_; | 295 delete heap_; |
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
616 | 616 |
617 | 617 |
618 void Isolate::VisitWeakPersistentHandles(HandleVisitor* visitor, | 618 void Isolate::VisitWeakPersistentHandles(HandleVisitor* visitor, |
619 bool visit_prologue_weak_handles) { | 619 bool visit_prologue_weak_handles) { |
620 if (api_state() != NULL) { | 620 if (api_state() != NULL) { |
621 api_state()->VisitWeakHandles(visitor, visit_prologue_weak_handles); | 621 api_state()->VisitWeakHandles(visitor, visit_prologue_weak_handles); |
622 } | 622 } |
623 } | 623 } |
624 | 624 |
625 } // namespace dart | 625 } // namespace dart |
OLD | NEW |