diff options
| -rw-r--r-- | runtime/art_method-inl.h | 2 | ||||
| -rw-r--r-- | runtime/art_method.cc | 4 | ||||
| -rw-r--r-- | runtime/art_method.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/runtime/art_method-inl.h b/runtime/art_method-inl.h index 0b35a7b6f9..03b4ce9078 100644 --- a/runtime/art_method-inl.h +++ b/runtime/art_method-inl.h @@ -121,7 +121,7 @@ inline bool ArtMethod::CheckIncompatibleClassChange(InvokeType type) { return IsDirect() || !(methods_class->IsInterface() || methods_class->IsObjectClass()); } case kPolymorphic: - return !IsPolymorphicSignature(); + return !IsSignaturePolymorphic(); default: LOG(FATAL) << "Unreachable - invocation type: " << type; UNREACHABLE(); 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()) { diff --git a/runtime/art_method.h b/runtime/art_method.h index b3101d8920..6050f003c0 100644 --- a/runtime/art_method.h +++ b/runtime/art_method.h @@ -314,7 +314,7 @@ class ArtMethod final { bool IsProxyMethod() REQUIRES_SHARED(Locks::mutator_lock_); - bool IsPolymorphicSignature() REQUIRES_SHARED(Locks::mutator_lock_); + bool IsSignaturePolymorphic() REQUIRES_SHARED(Locks::mutator_lock_); bool UseFastInterpreterToInterpreterInvoke() const { // The bit is applicable only if the method is not intrinsic. |