Index: runtime/vm/service_event.cc |
diff --git a/runtime/vm/service_event.cc b/runtime/vm/service_event.cc |
index 92b6f43bd92d3f895b53ebe5054e8014b32be786..314d6359bb34a145891360397d15b6285c6e52e0 100644 |
--- a/runtime/vm/service_event.cc |
+++ b/runtime/vm/service_event.cc |
@@ -8,6 +8,8 @@ |
namespace dart { |
+#ifndef PRODUCT |
+ |
// Translate from the legacy DebugEvent to a ServiceEvent. |
static ServiceEvent::EventKind TranslateEventKind( |
DebuggerEvent::EventType kind) { |
@@ -271,4 +273,6 @@ void ServiceEvent::PrintJSONHeader(JSONObject* jsobj) const { |
jsobj->AddPropertyTimeMillis("timestamp", timestamp_); |
} |
+#endif // !PRODUCT |
+ |
} // namespace dart |