Index: runtime/vm/tags.cc |
diff --git a/runtime/vm/tags.cc b/runtime/vm/tags.cc |
index fa3cc67629834c6149763121881f909436b0d962..ccb52ab200341ffc836da8687c4af016ff20213a 100644 |
--- a/runtime/vm/tags.cc |
+++ b/runtime/vm/tags.cc |
@@ -137,6 +137,7 @@ int64_t VMTagCounters::count(uword tag) { |
} |
+#ifndef PRODUCT |
void VMTagCounters::PrintToJSONObject(JSONObject* obj) { |
if (!FLAG_support_service) { |
return; |
@@ -154,6 +155,7 @@ void VMTagCounters::PrintToJSONObject(JSONObject* obj) { |
} |
} |
} |
+#endif // !PRODUCT |
const char* UserTags::TagName(uword tag_id) { |