Index: runtime/vm/object_store.cc |
diff --git a/runtime/vm/object_store.cc b/runtime/vm/object_store.cc |
index 5528afd0487c9a0963997af94b07d0e7b80f73bf..56b6c1dc8fc4021441eb0a13ed17baa705b1bfba 100644 |
--- a/runtime/vm/object_store.cc |
+++ b/runtime/vm/object_store.cc |
@@ -119,6 +119,7 @@ void ObjectStore::Init(Isolate* isolate) { |
} |
+#ifndef PRODUCT |
void ObjectStore::PrintToJSONObject(JSONObject* jsobj) { |
if (!FLAG_support_service) { |
return; |
@@ -135,6 +136,7 @@ OBJECT_STORE_FIELD_LIST(PRINT_OBJECT_STORE_FIELD); |
#undef PRINT_OBJECT_STORE_FIELD |
} |
} |
+#endif // !PRODUCT |
RawError* ObjectStore::PreallocateObjects() { |