Fix VM test 065 and 066
Fix bug in setting the VerifyErrorClass, set this when super and
interface types are incorrect.
Change-Id: Ib779e3e5c5aaa8ae4f83a673194f27bb31b37d13
diff --git a/src/object.h b/src/object.h
index eb37987..80bb000 100644
--- a/src/object.h
+++ b/src/object.h
@@ -1681,7 +1681,7 @@
}
void SetVerifyErrorClass(Class* klass) {
- klass->SetFieldObject(OFFSET_OF_OBJECT_MEMBER(Class, verify_error_class_), klass, false);
+ SetFieldObject(OFFSET_OF_OBJECT_MEMBER(Class, verify_error_class_), klass, false);
}
uint16_t GetDexTypeIndex() const {