diff options
Diffstat (limited to 'runtime/art_method-inl.h')
| -rw-r--r-- | runtime/art_method-inl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/art_method-inl.h b/runtime/art_method-inl.h index e6e35c89c9..8b48aa27f9 100644 --- a/runtime/art_method-inl.h +++ b/runtime/art_method-inl.h @@ -328,6 +328,7 @@ inline mirror::DexCache* ArtMethod::GetDexCache() { } inline bool ArtMethod::IsProxyMethod() { + DCHECK(!IsRuntimeMethod()) << "ArtMethod::IsProxyMethod called on a runtime method"; // Avoid read barrier since the from-space version of the class will have the correct proxy class // flags since they are constant for the lifetime of the class. return GetDeclaringClass<kWithoutReadBarrier>()->IsProxyClass(); |