| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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/compiler_stats.h" | 10 #include "vm/compiler_stats.h" |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 stack_limit_(0), | 164 stack_limit_(0), |
| 165 saved_stack_limit_(0), | 165 saved_stack_limit_(0), |
| 166 message_handler_(NULL), | 166 message_handler_(NULL), |
| 167 spawn_data_(NULL), | 167 spawn_data_(NULL), |
| 168 gc_prologue_callbacks_(), | 168 gc_prologue_callbacks_(), |
| 169 gc_epilogue_callbacks_(), | 169 gc_epilogue_callbacks_(), |
| 170 deopt_cpu_registers_copy_(NULL), | 170 deopt_cpu_registers_copy_(NULL), |
| 171 deopt_xmm_registers_copy_(NULL), | 171 deopt_xmm_registers_copy_(NULL), |
| 172 deopt_frame_copy_(NULL), | 172 deopt_frame_copy_(NULL), |
| 173 deopt_frame_copy_size_(0), | 173 deopt_frame_copy_size_(0), |
| 174 deferred_doubles_(NULL) { | 174 deferred_doubles_(NULL), |
| 175 deferred_mints_(NULL) { |
| 175 } | 176 } |
| 176 | 177 |
| 177 | 178 |
| 178 Isolate::~Isolate() { | 179 Isolate::~Isolate() { |
| 179 delete [] name_; | 180 delete [] name_; |
| 180 delete heap_; | 181 delete heap_; |
| 181 delete object_store_; | 182 delete object_store_; |
| 182 delete api_state_; | 183 delete api_state_; |
| 183 delete stub_code_; | 184 delete stub_code_; |
| 184 delete debugger_; | 185 delete debugger_; |
| (...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 491 | 492 |
| 492 | 493 |
| 493 void Isolate::VisitWeakPersistentHandles(HandleVisitor* visitor, | 494 void Isolate::VisitWeakPersistentHandles(HandleVisitor* visitor, |
| 494 bool visit_prologue_weak_handles) { | 495 bool visit_prologue_weak_handles) { |
| 495 if (api_state() != NULL) { | 496 if (api_state() != NULL) { |
| 496 api_state()->VisitWeakHandles(visitor, visit_prologue_weak_handles); | 497 api_state()->VisitWeakHandles(visitor, visit_prologue_weak_handles); |
| 497 } | 498 } |
| 498 } | 499 } |
| 499 | 500 |
| 500 } // namespace dart | 501 } // namespace dart |
| OLD | NEW |