diff options
Diffstat (limited to 'runtime/mirror/reference-inl.h')
-rw-r--r-- | runtime/mirror/reference-inl.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/runtime/mirror/reference-inl.h b/runtime/mirror/reference-inl.h index bd4a9c1031..12bfe38e17 100644 --- a/runtime/mirror/reference-inl.h +++ b/runtime/mirror/reference-inl.h @@ -27,14 +27,6 @@ inline uint32_t Reference::ClassSize(size_t pointer_size) { return Class::ComputeClassSize(false, vtable_entries, 2, 0, 0, 0, 0, pointer_size); } -inline bool Reference::IsEnqueuable() { - // Not using volatile reads as an optimization since this is only called with all the mutators - // suspended. - const Object* queue = GetFieldObject<mirror::Object>(QueueOffset()); - const Object* queue_next = GetFieldObject<mirror::Object>(QueueNextOffset()); - return queue != nullptr && queue_next == nullptr; -} - } // namespace mirror } // namespace art |