Index: runtime/vm/pages.cc |
diff --git a/runtime/vm/pages.cc b/runtime/vm/pages.cc |
index 6796cc729dff1638bbfbdf45bfc0f5685275db78..a10d0975689207848d7d1b7167411bd30a27ed13 100644 |
--- a/runtime/vm/pages.cc |
+++ b/runtime/vm/pages.cc |
@@ -671,6 +671,7 @@ void PageSpace::WriteProtect(bool read_only) { |
} |
+#ifndef PRODUCT |
void PageSpace::PrintToJSONObject(JSONObject* object) const { |
if (!FLAG_support_service) { |
return; |
@@ -754,6 +755,7 @@ void PageSpace::PrintHeapMapToJSONStream( |
} |
} |
} |
+#endif // PRODUCT |
bool PageSpace::ShouldCollectCode() { |