Get the test speed back to where it was.
(This patch actually has an active ingredient, unlike my last screwup.)
Change-Id: Ic9f48a1c7c62ea024c51dc57e245a7d4df068db0
diff --git a/src/heap.cc b/src/heap.cc
index cb5e0dc..be3d154 100644
--- a/src/heap.cc
+++ b/src/heap.cc
@@ -132,6 +132,7 @@
bool Heap::verify_object_disabled_;
+#if VERIFY_OBJECT_ENABLED
void Heap::VerifyObject(const Object* obj) {
if (obj != NULL && !verify_object_disabled_) {
if (!IsAligned(obj, kObjectAlignment)) {
@@ -166,6 +167,7 @@
}
}
}
+#endif
static void HeapVerifyCallback(Object* obj, void *arg) {
DCHECK(obj != NULL);