Import the heap verification code from the copying collector. The
reference verification routine adds an extra argument so the base
address of an object can be passed to the verification code without
provoking a warning from GCC about breaking alias analysis.
Change-Id: Idd921bcc0e084c18bff1e209a8591ef55f57843a
diff --git a/vm/oo/Array.h b/vm/oo/Array.h
index 161b1c6..17bdb22 100644
--- a/vm/oo/Array.h
+++ b/vm/oo/Array.h
@@ -152,4 +152,6 @@
bool dvmUnboxObjectArray(ArrayObject* dstArray, const ArrayObject* srcArray,
ClassObject* dstElemClass);
+size_t dvmArrayObjectLength(const ArrayObject *array);
+
#endif /*_DALVIK_OO_ARRAY*/