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.h b/src/heap.h
index bc06289..5168fe7 100644
--- a/src/heap.h
+++ b/src/heap.h
@@ -9,6 +9,8 @@
#include "object_bitmap.h"
#include "offsets.h"
+#define VERIFY_OBJECT_ENABLED 0
+
namespace art {
class Class;
@@ -35,7 +37,11 @@
static Object* AllocObject(Class* klass, size_t num_bytes);
// Check sanity of given reference. Requires the heap lock.
+#if VERIFY_OBJECT_ENABLED
static void VerifyObject(const Object *obj);
+#else
+ static void VerifyObject(const Object *obj) {}
+#endif
// Check sanity of all live references. Requires the heap lock.
static void VerifyHeap();