Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Side by Side Diff: runtime/vm/isolate.cc

Issue 8963026: Fix initializer order (build break on some platforms). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 8
9 #include "vm/assert.h" 9 #include "vm/assert.h"
10 #include "vm/bigint_store.h" 10 #include "vm/bigint_store.h"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 bigint_store_(NULL), 55 bigint_store_(NULL),
56 top_exit_frame_info_(0), 56 top_exit_frame_info_(0),
57 init_callback_data_(NULL), 57 init_callback_data_(NULL),
58 library_tag_handler_(NULL), 58 library_tag_handler_(NULL),
59 api_state_(NULL), 59 api_state_(NULL),
60 stub_code_(NULL), 60 stub_code_(NULL),
61 code_index_table_(NULL), 61 code_index_table_(NULL),
62 debugger_(NULL), 62 debugger_(NULL),
63 long_jump_base_(NULL), 63 long_jump_base_(NULL),
64 timer_list_(), 64 timer_list_(),
65 ast_node_id_(AstNode::kNoId),
65 mutex_(new Mutex()), 66 mutex_(new Mutex()),
66 stack_limit_(0), 67 stack_limit_(0),
67 saved_stack_limit_(0), 68 saved_stack_limit_(0) {
68 ast_node_id_(AstNode::kNoId) {
69 } 69 }
70 70
71 71
72 Isolate::~Isolate() { 72 Isolate::~Isolate() {
73 delete message_queue_; 73 delete message_queue_;
74 delete heap_; 74 delete heap_;
75 delete object_store_; 75 delete object_store_;
76 // Do not delete stack resources: top_resource_ and current_zone_. 76 // Do not delete stack resources: top_resource_ and current_zone_.
77 delete bigint_store_; 77 delete bigint_store_;
78 delete api_state_; 78 delete api_state_;
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 } 364 }
365 365
366 // Visit the top context which is stored in the isolate. 366 // Visit the top context which is stored in the isolate.
367 visitor->VisitPointer(reinterpret_cast<RawObject**>(&top_context_)); 367 visitor->VisitPointer(reinterpret_cast<RawObject**>(&top_context_));
368 368
369 // Visit objects in the debugger. 369 // Visit objects in the debugger.
370 debugger()->VisitObjectPointers(visitor); 370 debugger()->VisitObjectPointers(visitor);
371 } 371 }
372 372
373 } // namespace dart 373 } // namespace dart
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698