| 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/code_observers.h" | 10 #include "vm/code_observers.h" |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 ASSERT(isolate == Isolate::Current()); | 252 ASSERT(isolate == Isolate::Current()); |
| 253 } | 253 } |
| 254 #endif | 254 #endif |
| 255 | 255 |
| 256 | 256 |
| 257 Isolate::Isolate() | 257 Isolate::Isolate() |
| 258 : store_buffer_block_(), | 258 : store_buffer_block_(), |
| 259 store_buffer_(), | 259 store_buffer_(), |
| 260 message_notify_callback_(NULL), | 260 message_notify_callback_(NULL), |
| 261 name_(NULL), | 261 name_(NULL), |
| 262 start_time_(OS::GetCurrentTimeMicros()), |
| 262 main_port_(0), | 263 main_port_(0), |
| 263 heap_(NULL), | 264 heap_(NULL), |
| 264 object_store_(NULL), | 265 object_store_(NULL), |
| 265 top_context_(Context::null()), | 266 top_context_(Context::null()), |
| 266 top_exit_frame_info_(0), | 267 top_exit_frame_info_(0), |
| 267 init_callback_data_(NULL), | 268 init_callback_data_(NULL), |
| 268 library_tag_handler_(NULL), | 269 library_tag_handler_(NULL), |
| 269 api_state_(NULL), | 270 api_state_(NULL), |
| 270 stub_code_(NULL), | 271 stub_code_(NULL), |
| 271 debugger_(NULL), | 272 debugger_(NULL), |
| (...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 615 | 616 |
| 616 | 617 |
| 617 void Isolate::VisitWeakPersistentHandles(HandleVisitor* visitor, | 618 void Isolate::VisitWeakPersistentHandles(HandleVisitor* visitor, |
| 618 bool visit_prologue_weak_handles) { | 619 bool visit_prologue_weak_handles) { |
| 619 if (api_state() != NULL) { | 620 if (api_state() != NULL) { |
| 620 api_state()->VisitWeakHandles(visitor, visit_prologue_weak_handles); | 621 api_state()->VisitWeakHandles(visitor, visit_prologue_weak_handles); |
| 621 } | 622 } |
| 622 } | 623 } |
| 623 | 624 |
| 624 } // namespace dart | 625 } // namespace dart |
| OLD | NEW |