Index: runtime/vm/flags.cc |
diff --git a/runtime/vm/flags.cc b/runtime/vm/flags.cc |
index cb76c914b3ed05066c330e41149a1a8e0183d56a..8c5a9d8efaf86d4262688cb5b6f557e31caaf5fa 100644 |
--- a/runtime/vm/flags.cc |
+++ b/runtime/vm/flags.cc |
@@ -487,6 +487,7 @@ void Flags::PrintFlags() { |
} |
+#ifndef PRODUCT |
void Flags::PrintFlagToJSONArray(JSONArray* jsarr, const Flag* flag) { |
if (!FLAG_support_service) { |
return; |
@@ -542,5 +543,6 @@ void Flags::PrintJSON(JSONStream* js) { |
PrintFlagToJSONArray(&jsarr, flags_[i]); |
} |
} |
+#endif // !PRODUCT |
} // namespace dart |