diff options
Diffstat (limited to 'runtime/art_method.h')
-rw-r--r-- | runtime/art_method.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/art_method.h b/runtime/art_method.h index b5d6ee7365..d3108da1e5 100644 --- a/runtime/art_method.h +++ b/runtime/art_method.h @@ -631,7 +631,7 @@ class ArtMethod final { } // Number of 32bit registers that would be required to hold all the arguments - static size_t NumArgRegisters(const char* shorty); + static size_t NumArgRegisters(std::string_view shorty); ALWAYS_INLINE uint32_t GetDexMethodIndex() const { return dex_method_index_; @@ -903,6 +903,8 @@ class ArtMethod final { const char* GetShorty(uint32_t* out_length) REQUIRES_SHARED(Locks::mutator_lock_); + std::string_view GetShortyView() REQUIRES_SHARED(Locks::mutator_lock_); + const Signature GetSignature() REQUIRES_SHARED(Locks::mutator_lock_); ALWAYS_INLINE const char* GetName() REQUIRES_SHARED(Locks::mutator_lock_); |