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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/heap.cc ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.h
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h
index 77b1fe690e81e508174911a8b028a1208007300d..1db98cc46fa308586872ddbc2d5b86742697c64e 100644
--- a/runtime/vm/isolate.h
+++ b/runtime/vm/isolate.h
@@ -304,6 +304,9 @@ class Isolate : public BaseIsolate {
Mutex* mutex() const { return mutex_; }
Debugger* debugger() const {
+ if (!FLAG_support_debugger) {
+ return NULL;
+ }
ASSERT(debugger_ != NULL);
return debugger_;
}
« 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