Index: runtime/vm/class_table.h |
diff --git a/runtime/vm/class_table.h b/runtime/vm/class_table.h |
index dc76c08d8efd7fb8cbc55bd98bc975f85b118f8d..9a12fc3ee351e684f9cc8f830f405e3576a18b38 100644 |
--- a/runtime/vm/class_table.h |
+++ b/runtime/vm/class_table.h |
@@ -116,7 +116,9 @@ class ClassHeapStats { |
void ResetAccumulator(); |
void UpdatePromotedAfterNewGC(); |
void UpdateSize(intptr_t instance_size); |
+#ifndef PRODUCT |
void PrintToJSONObject(const Class& cls, JSONObject* obj) const; |
+#endif |
void Verify(); |
bool trace_allocation() const { |
@@ -192,8 +194,9 @@ class ClassTable { |
void Validate(); |
void Print(); |
- |
+#ifndef PRODUCT |
void PrintToJSONObject(JSONObject* object); |
+#endif |
// Used by the generated code. |
static intptr_t table_offset() { |