Index: runtime/vm/json_stream.cc |
diff --git a/runtime/vm/json_stream.cc b/runtime/vm/json_stream.cc |
index 6a2694a94e4d824d4fbaa975b2c7c5767e68af91..b64d6e64fc87c6c8f68a03d6b5bba2f0fee2fd61 100644 |
--- a/runtime/vm/json_stream.cc |
+++ b/runtime/vm/json_stream.cc |
@@ -18,6 +18,8 @@ |
namespace dart { |
+#ifndef PRODUCT |
+ |
DECLARE_FLAG(bool, trace_service); |
JSONStream::JSONStream(intptr_t buf_size) |
@@ -857,4 +859,6 @@ void JSONArray::AddValueF(const char* format, ...) const { |
free(p); |
} |
+#endif // !PRODUCT |
+ |
} // namespace dart |