summaryrefslogtreecommitdiff
path: root/runtime/art_method.cc
diff options
context:
space:
mode:
author Orion Hodson <oth@google.com> 2020-09-03 15:20:12 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2020-09-03 15:20:12 +0000
commitd21c41cd9376fcc33fe5b68d08fcedd91fa8bad5 (patch)
treed78ced43ab9c91b5a659ed8ecae2ec514351b57f /runtime/art_method.cc
parent3e1aa86764fec686a187c5b46da7774665bac77a (diff)
parent81daf3dd28e736697221fac968822a4b17dbc089 (diff)
Rename ArtMethod::IsPolymorphicSignature am: 81daf3dd28
Original change: https://android-review.googlesource.com/c/platform/art/+/1418554 Change-Id: Ib9e92a96f0fb5f59aaead24f12da12a313833467
Diffstat (limited to 'runtime/art_method.cc')
-rw-r--r--runtime/art_method.cc4
1 files changed, 2 insertions, 2 deletions
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()) {