Index: runtime/vm/object_id_ring.cc |
diff --git a/runtime/vm/object_id_ring.cc b/runtime/vm/object_id_ring.cc |
index 9ae8b92bf52c50e62c5f2586742eadbebff77c04..d01d8bd296007d58ce1e02931697b011a164c3d8 100644 |
--- a/runtime/vm/object_id_ring.cc |
+++ b/runtime/vm/object_id_ring.cc |
@@ -9,6 +9,8 @@ |
namespace dart { |
+#ifndef PRODUCT |
+ |
void ObjectIdRing::Init(Isolate* isolate, int32_t capacity) { |
ObjectIdRing* ring = new ObjectIdRing(isolate, capacity); |
isolate->set_object_id_ring(ring); |
@@ -253,4 +255,6 @@ bool ObjectIdRing::IsValidId(int32_t id) { |
return IsValidContiguous(id); |
} |
+#endif // !PRODUCT |
+ |
} // namespace dart |