| 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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 timer_list_(), | 159 timer_list_(), |
| 160 ast_node_id_(AstNode::kNoId), | 160 ast_node_id_(AstNode::kNoId), |
| 161 computation_id_(AstNode::kNoId), | 161 computation_id_(AstNode::kNoId), |
| 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), |
| 171 deopt_frame_copy_(NULL), |
| 172 deopt_frame_copy_size_(0) { |
| 170 } | 173 } |
| 171 | 174 |
| 172 | 175 |
| 173 Isolate::~Isolate() { | 176 Isolate::~Isolate() { |
| 174 delete [] name_; | 177 delete [] name_; |
| 175 delete heap_; | 178 delete heap_; |
| 176 delete object_store_; | 179 delete object_store_; |
| 177 delete api_state_; | 180 delete api_state_; |
| 178 delete stub_code_; | 181 delete stub_code_; |
| 179 delete debugger_; | 182 delete debugger_; |
| (...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 451 | 454 |
| 452 | 455 |
| 453 void Isolate::VisitWeakPersistentHandles(HandleVisitor* visitor, | 456 void Isolate::VisitWeakPersistentHandles(HandleVisitor* visitor, |
| 454 bool visit_prologue_weak_handles) { | 457 bool visit_prologue_weak_handles) { |
| 455 if (api_state() != NULL) { | 458 if (api_state() != NULL) { |
| 456 api_state()->VisitWeakHandles(visitor, visit_prologue_weak_handles); | 459 api_state()->VisitWeakHandles(visitor, visit_prologue_weak_handles); |
| 457 } | 460 } |
| 458 } | 461 } |
| 459 | 462 |
| 460 } // namespace dart | 463 } // namespace dart |
| OLD | NEW |