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

Unified Diff: runtime/vm/service.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
« no previous file with comments | « runtime/vm/scavenger.cc ('k') | runtime/vm/service_event.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/service.cc
diff --git a/runtime/vm/service.cc b/runtime/vm/service.cc
index 595083f8ae0f427d6a09720575a3456d5d460f33..04b2f98f01eed9febdc9d12e6ce37e35da45729e 100644
--- a/runtime/vm/service.cc
+++ b/runtime/vm/service.cc
@@ -51,6 +51,7 @@ DEFINE_FLAG(bool, warn_on_pause_with_no_debugger, false,
"Print a message when an isolate is paused but there is no "
"debugger attached.");
+#ifndef PRODUCT
// The name of this of this vm as reported by the VM service protocol.
static char* vm_name = NULL;
@@ -3958,5 +3959,6 @@ const ServiceMethodDescriptor* FindMethod(const char* method_name) {
return NULL;
}
+#endif // !PRODUCT
} // namespace dart
« no previous file with comments | « runtime/vm/scavenger.cc ('k') | runtime/vm/service_event.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698