diff options
| author | 2015-06-08 15:53:30 +0000 | |
|---|---|---|
| committer | 2015-06-08 15:53:30 +0000 | |
| commit | c2c22074a4d24a53e66a4aa2afbb039746fef498 (patch) | |
| tree | b059406e0585f9339dadb6c56a712eea9494d1cd /compiler/optimizing | |
| parent | ccd6337f31d13706c602f3d9436e9b4025075b63 (diff) | |
| parent | 4a56acab1be232e07cee8735c29957fe6eb425d0 (diff) | |
Merge "Revert "Do a type check for knowing if we can inline.""
Diffstat (limited to 'compiler/optimizing')
| -rw-r--r-- | compiler/optimizing/inliner.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/optimizing/inliner.cc b/compiler/optimizing/inliner.cc index 07d0dd6b49..ea613b2b01 100644 --- a/compiler/optimizing/inliner.cc +++ b/compiler/optimizing/inliner.cc @@ -120,9 +120,6 @@ static ArtMethod* FindVirtualOrInterfaceTarget(HInvoke* invoke, ArtMethod* resol // Statically knowing that the receiver has an interface type cannot // help us find what is the target method. return nullptr; - } else if (!resolved_method->GetDeclaringClass()->IsAssignableFrom(info.GetTypeHandle().Get())) { - // The method that we're trying to call is not in the receiver's class or super classes. - return nullptr; } ClassLinker* cl = Runtime::Current()->GetClassLinker(); |