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

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

Issue 883263004: Allows turning on checked mode on a per-isolate basis (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 10 months 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
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 "platform/json.h" 9 #include "platform/json.h"
10 #include "vm/code_observers.h" 10 #include "vm/code_observers.h"
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 object_store_(NULL), 448 object_store_(NULL),
449 top_exit_frame_info_(0), 449 top_exit_frame_info_(0),
450 init_callback_data_(NULL), 450 init_callback_data_(NULL),
451 environment_callback_(NULL), 451 environment_callback_(NULL),
452 library_tag_handler_(NULL), 452 library_tag_handler_(NULL),
453 api_state_(NULL), 453 api_state_(NULL),
454 stub_code_(NULL), 454 stub_code_(NULL),
455 debugger_(NULL), 455 debugger_(NULL),
456 single_step_(false), 456 single_step_(false),
457 resume_request_(false), 457 resume_request_(false),
458 checked_mode_(false),
458 random_(), 459 random_(),
459 simulator_(NULL), 460 simulator_(NULL),
460 long_jump_base_(NULL), 461 long_jump_base_(NULL),
461 timer_list_(), 462 timer_list_(),
462 deopt_id_(0), 463 deopt_id_(0),
463 mutex_(new Mutex()), 464 mutex_(new Mutex()),
464 stack_limit_(0), 465 stack_limit_(0),
465 saved_stack_limit_(0), 466 saved_stack_limit_(0),
466 stack_base_(0), 467 stack_base_(0),
467 stack_overflow_flags_(0), 468 stack_overflow_flags_(0),
(...skipping 1178 matching lines...) Expand 10 before | Expand all | Expand 10 after
1646 serialized_message_, serialized_message_len_); 1647 serialized_message_, serialized_message_len_);
1647 } 1648 }
1648 1649
1649 1650
1650 void IsolateSpawnState::Cleanup() { 1651 void IsolateSpawnState::Cleanup() {
1651 SwitchIsolateScope switch_scope(I); 1652 SwitchIsolateScope switch_scope(I);
1652 Dart::ShutdownIsolate(); 1653 Dart::ShutdownIsolate();
1653 } 1654 }
1654 1655
1655 } // namespace dart 1656 } // namespace dart
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698