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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 timer_list_(), | 160 timer_list_(), |
161 deopt_id_(0), | 161 deopt_id_(0), |
162 ic_data_array_(Array::null()), | 162 ic_data_array_(Array::null()), |
163 mutex_(new Mutex()), | 163 mutex_(new Mutex()), |
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_registers_copy_(NULL), | 170 deopt_cpu_registers_copy_(NULL), |
| 171 deopt_xmm_registers_copy_(NULL), |
171 deopt_frame_copy_(NULL), | 172 deopt_frame_copy_(NULL), |
172 deopt_frame_copy_size_(0) { | 173 deopt_frame_copy_size_(0), |
| 174 deferred_doubles_(NULL) { |
173 } | 175 } |
174 | 176 |
175 | 177 |
176 Isolate::~Isolate() { | 178 Isolate::~Isolate() { |
177 delete [] name_; | 179 delete [] name_; |
178 delete heap_; | 180 delete heap_; |
179 delete object_store_; | 181 delete object_store_; |
180 delete api_state_; | 182 delete api_state_; |
181 delete stub_code_; | 183 delete stub_code_; |
182 delete debugger_; | 184 delete debugger_; |
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
469 | 471 |
470 | 472 |
471 void Isolate::VisitWeakPersistentHandles(HandleVisitor* visitor, | 473 void Isolate::VisitWeakPersistentHandles(HandleVisitor* visitor, |
472 bool visit_prologue_weak_handles) { | 474 bool visit_prologue_weak_handles) { |
473 if (api_state() != NULL) { | 475 if (api_state() != NULL) { |
474 api_state()->VisitWeakHandles(visitor, visit_prologue_weak_handles); | 476 api_state()->VisitWeakHandles(visitor, visit_prologue_weak_handles); |
475 } | 477 } |
476 } | 478 } |
477 | 479 |
478 } // namespace dart | 480 } // namespace dart |
OLD | NEW |