Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(923)

Unified Diff: runtime/vm/object_id_ring.cc

Issue 1660063002: Remove many features when building product mode (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/object_id_ring_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/object_id_ring_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698