Ejemplo n.º 1
0
/*
 * static int identityHashCode(Object x)
 *
 * Returns that hash code that the default hashCode()
 * method would return for "x", even if "x"s class
 * overrides hashCode().
 */
static void Dalvik_java_lang_System_identityHashCode(const u4* args,
    JValue* pResult)
{
    Object* thisPtr = (Object*) args[0];
    RETURN_INT(dvmIdentityHashCode(thisPtr));
}
Ejemplo n.º 2
0
jint fastiva_Dalvik_java_lang_Object_hashCode(java_lang_Object_p thisPtr) {
#endif

	RETURN_INT(dvmIdentityHashCode(thisPtr));
}