From 81daf3dd28e736697221fac968822a4b17dbc089 Mon Sep 17 00:00:00 2001 From: Orion Hodson Date: Thu, 3 Sep 2020 14:01:51 +0100 Subject: Rename ArtMethod::IsPolymorphicSignature Change to ArtMethod::IsSignaturePolymorphic which is more widely used here and elsewhere. Test: m Change-Id: Ifbb225b84c8202d55111a7fa81841dd543c091ea --- runtime/art_method.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'runtime/art_method.cc') diff --git a/runtime/art_method.cc b/runtime/art_method.cc index cfb5928afa..45a6938694 100644 --- a/runtime/art_method.cc +++ b/runtime/art_method.cc @@ -167,7 +167,7 @@ InvokeType ArtMethod::GetInvokeType() { return kInterface; } else if (IsDirect()) { return kDirect; - } else if (IsPolymorphicSignature()) { + } else if (IsSignaturePolymorphic()) { return kPolymorphic; } else { return kVirtual; @@ -396,7 +396,7 @@ bool ArtMethod::IsOverridableByDefaultMethod() { return GetDeclaringClass()->IsInterface(); } -bool ArtMethod::IsPolymorphicSignature() { +bool ArtMethod::IsSignaturePolymorphic() { // Methods with a polymorphic signature have constraints that they // are native and varargs and belong to either MethodHandle or VarHandle. if (!IsNative() || !IsVarargs()) { -- cgit v1.2.3-59-g8ed1b