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

Unified Diff: runtime/vm/port.cc

Issue 2153593002: More ifndef PRODUCT. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 5 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/object.cc ('k') | runtime/vm/stub_code.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/port.cc
diff --git a/runtime/vm/port.cc b/runtime/vm/port.cc
index 8ef15c56c47fbeef8476f9573161d2d41a50d7aa..2541b38079e10746ef0eadfddee18fb6a2380716 100644
--- a/runtime/vm/port.cc
+++ b/runtime/vm/port.cc
@@ -303,6 +303,7 @@ void PortMap::InitOnce() {
void PortMap::PrintPortsForMessageHandler(MessageHandler* handler,
JSONStream* stream) {
+#ifndef PRODUCT
if (!FLAG_support_service) {
return;
}
@@ -324,6 +325,7 @@ void PortMap::PrintPortsForMessageHandler(MessageHandler* handler,
}
}
}
+#endif
}
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/stub_code.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698