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

Unified Diff: runtime/vm/debugger.cc

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
Index: runtime/vm/debugger.cc
diff --git a/runtime/vm/debugger.cc b/runtime/vm/debugger.cc
index c9612493b4c66145dbd11f20b4aaacb065562cec..423aef2a28f20842a73de81bb769b6b4b1c72970 100644
--- a/runtime/vm/debugger.cc
+++ b/runtime/vm/debugger.cc
@@ -49,6 +49,8 @@ DECLARE_FLAG(bool, warn_on_pause_with_no_debugger);
DECLARE_FLAG(bool, precompilation);
+#ifndef PRODUCT
+
Debugger::EventHandler* Debugger::event_handler_ = NULL;
@@ -3279,4 +3281,6 @@ void Debugger::RegisterCodeBreakpoint(CodeBreakpoint* bpt) {
code_breakpoints_ = bpt;
}
+#endif // !PRODUCT
+
} // namespace dart

Powered by Google App Engine
This is Rietveld 408576698