diff options
Diffstat (limited to 'runtime/mirror/class.h')
-rw-r--r-- | runtime/mirror/class.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/runtime/mirror/class.h b/runtime/mirror/class.h index 74fca549ea..9923cd3426 100644 --- a/runtime/mirror/class.h +++ b/runtime/mirror/class.h @@ -484,20 +484,6 @@ class MANAGED Class final : public Object { template<VerifyObjectFlags kVerifyFlags = kDefaultVerifyFlags> ALWAYS_INLINE bool IsObjectArrayClass() REQUIRES_SHARED(Locks::mutator_lock_); - template<VerifyObjectFlags kVerifyFlags = kDefaultVerifyFlags> - bool IsIntArrayClass() REQUIRES_SHARED(Locks::mutator_lock_) { - constexpr auto kNewFlags = static_cast<VerifyObjectFlags>(kVerifyFlags & ~kVerifyThis); - auto* component_type = GetComponentType<kVerifyFlags>(); - return component_type != nullptr && component_type->template IsPrimitiveInt<kNewFlags>(); - } - - template<VerifyObjectFlags kVerifyFlags = kDefaultVerifyFlags> - bool IsLongArrayClass() REQUIRES_SHARED(Locks::mutator_lock_) { - constexpr auto kNewFlags = static_cast<VerifyObjectFlags>(kVerifyFlags & ~kVerifyThis); - auto* component_type = GetComponentType<kVerifyFlags>(); - return component_type != nullptr && component_type->template IsPrimitiveLong<kNewFlags>(); - } - // Creates a raw object instance but does not invoke the default constructor. template<bool kIsInstrumented, bool kCheckAddFinalizer = true> ALWAYS_INLINE ObjPtr<Object> Alloc(Thread* self, gc::AllocatorType allocator_type) |