Test: none
Change-Id: I08adf266c6287a289d213a0b1fa854f223fec72d
#else
-static mirror::Class* SafeGetDeclaringClass(ArtMethod* method_obj) {
+static mirror::Class* SafeGetDeclaringClass(ArtMethod* method_obj)
+ REQUIRES_SHARED(Locks::mutator_lock_) {
return method_obj->GetDeclaringClassUnchecked<kWithoutReadBarrier>();
}
-static bool SafeVerifyClassClass(ArtClass* cls) {
+static bool SafeVerifyClassClass(mirror::Class* cls) REQUIRES_SHARED(Locks::mutator_lock_) {
return VerifyClassClass(cls);
}
#endif