diff options
Diffstat (limited to 'runtime/reflection.h')
-rw-r--r-- | runtime/reflection.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/runtime/reflection.h b/runtime/reflection.h index 857d63b07c..ff970e5507 100644 --- a/runtime/reflection.h +++ b/runtime/reflection.h @@ -69,11 +69,14 @@ jobject InvokeMethod(const ScopedObjectAccessAlreadyRunnable& soa, jobject metho jobject args, bool accessible) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); -bool VerifyObjectIsClass(mirror::Object* o, mirror::Class* c) +ALWAYS_INLINE bool VerifyObjectIsClass(mirror::Object* o, mirror::Class* c) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); bool VerifyAccess(Thread* self, mirror::Object* obj, mirror::Class* declaring_class, - uint32_t access_flags, mirror::Class** calling_class) + uint32_t access_flags, mirror::Class** calling_class, size_t num_frames) + SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); + +void InvalidReceiverError(mirror::Object* o, mirror::Class* c) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); } // namespace art |