diff options
Diffstat (limited to 'runtime/art_method.h')
-rw-r--r-- | runtime/art_method.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/art_method.h b/runtime/art_method.h index 48ddc6992d..570b0e6ef9 100644 --- a/runtime/art_method.h +++ b/runtime/art_method.h @@ -725,6 +725,10 @@ class ArtMethod final { ALWAYS_INLINE CodeItemDebugInfoAccessor DexInstructionDebugInfo() REQUIRES_SHARED(Locks::mutator_lock_); + GcRoot<mirror::Class>& DeclaringClassRoot() { + return declaring_class_; + } + protected: // Field order required by test "ValidateFieldOrderOfJavaCppUnionClasses". // The class we are a part of. |