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

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

Issue 1660063002: Remove many features when building product mode (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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
« no previous file with comments | « runtime/vm/heap.cc ('k') | runtime/vm/isolate.cc » ('j') | 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) 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 #ifndef VM_ISOLATE_H_ 5 #ifndef VM_ISOLATE_H_
6 #define VM_ISOLATE_H_ 6 #define VM_ISOLATE_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 #include "platform/assert.h" 9 #include "platform/assert.h"
10 #include "vm/atomic.h" 10 #include "vm/atomic.h"
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 297
298 bool is_runnable() const { return is_runnable_; } 298 bool is_runnable() const { return is_runnable_; }
299 void set_is_runnable(bool value) { is_runnable_ = value; } 299 void set_is_runnable(bool value) { is_runnable_ = value; }
300 300
301 IsolateSpawnState* spawn_state() const { return spawn_state_; } 301 IsolateSpawnState* spawn_state() const { return spawn_state_; }
302 void set_spawn_state(IsolateSpawnState* value) { spawn_state_ = value; } 302 void set_spawn_state(IsolateSpawnState* value) { spawn_state_ = value; }
303 303
304 Mutex* mutex() const { return mutex_; } 304 Mutex* mutex() const { return mutex_; }
305 305
306 Debugger* debugger() const { 306 Debugger* debugger() const {
307 if (!FLAG_support_debugger) {
308 return NULL;
309 }
307 ASSERT(debugger_ != NULL); 310 ASSERT(debugger_ != NULL);
308 return debugger_; 311 return debugger_;
309 } 312 }
310 313
311 void set_single_step(bool value) { single_step_ = value; } 314 void set_single_step(bool value) { single_step_ = value; }
312 bool single_step() const { return single_step_; } 315 bool single_step() const { return single_step_; }
313 static intptr_t single_step_offset() { 316 static intptr_t single_step_offset() {
314 return OFFSET_OF(Isolate, single_step_); 317 return OFFSET_OF(Isolate, single_step_);
315 } 318 }
316 319
(...skipping 674 matching lines...) Expand 10 before | Expand all | Expand 10 after
991 intptr_t* spawn_count_; 994 intptr_t* spawn_count_;
992 995
993 Isolate::Flags isolate_flags_; 996 Isolate::Flags isolate_flags_;
994 bool paused_; 997 bool paused_;
995 bool errors_are_fatal_; 998 bool errors_are_fatal_;
996 }; 999 };
997 1000
998 } // namespace dart 1001 } // namespace dart
999 1002
1000 #endif // VM_ISOLATE_H_ 1003 #endif // VM_ISOLATE_H_
OLDNEW
« no previous file with comments | « runtime/vm/heap.cc ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698