diff options
Diffstat (limited to 'runtime/art_method-inl.h')
| -rw-r--r-- | runtime/art_method-inl.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/runtime/art_method-inl.h b/runtime/art_method-inl.h index ebe89bbbd2..12d6d8f015 100644 --- a/runtime/art_method-inl.h +++ b/runtime/art_method-inl.h @@ -463,12 +463,6 @@ void ArtMethod::VisitRoots(RootVisitorType& visitor, size_t pointer_size) { interface_method->VisitRoots(visitor, pointer_size); } visitor.VisitRoot(declaring_class_.AddressWithoutBarrier()); - if (!IsNative()) { - ProfilingInfo* profiling_info = GetProfilingInfo(pointer_size); - if (profiling_info != nullptr) { - profiling_info->VisitRoots(visitor); - } - } } } |