summaryrefslogtreecommitdiff
path: root/runtime/class_table-inl.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/class_table-inl.h')
-rw-r--r--runtime/class_table-inl.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/runtime/class_table-inl.h b/runtime/class_table-inl.h
index ecc8a0a620..67eeb553a4 100644
--- a/runtime/class_table-inl.h
+++ b/runtime/class_table-inl.h
@@ -213,11 +213,6 @@ inline ClassTable::TableSlot::TableSlot(ObjPtr<mirror::Class> klass, uint32_t de
DCHECK_EQ(descriptor_hash, klass->DescriptorHash());
}
-inline ClassTable::TableSlot::TableSlot(uint32_t ptr, uint32_t descriptor_hash)
- : data_(ptr | MaskHash(descriptor_hash)) {
- DCHECK_ALIGNED(ptr, kObjectAlignment);
-}
-
template <typename Filter>
inline void ClassTable::RemoveStrongRoots(const Filter& filter) {
WriterMutexLock mu(Thread::Current(), lock_);
@@ -232,11 +227,6 @@ inline ObjPtr<mirror::Class> ClassTable::LookupByDescriptor(ObjPtr<mirror::Class
return Lookup(descriptor, hash);
}
-inline size_t ClassTable::Size() const {
- ReaderMutexLock mu(Thread::Current(), lock_);
- return classes_.size();
-}
-
} // namespace art
#endif // ART_RUNTIME_CLASS_TABLE_INL_H_