diff options
author | 2018-05-11 08:21:45 +0000 | |
---|---|---|
committer | 2018-05-11 08:21:45 +0000 | |
commit | 51dda39549033b3c50a7fce5522ffc81325db54b (patch) | |
tree | f3f34dcfbf1fb7e499e3f250541926c2e6494ad1 /runtime/entrypoints/entrypoint_utils.h | |
parent | bae5e4e8e1cc93edd938ee0ee2303b7f5ad6b4dc (diff) | |
parent | 18259d7fb7164a5e029df4f883b3a79ccc2403e8 (diff) |
Merge "ART: Compiler support for const-method-type"
Diffstat (limited to 'runtime/entrypoints/entrypoint_utils.h')
-rw-r--r-- | runtime/entrypoints/entrypoint_utils.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/entrypoints/entrypoint_utils.h b/runtime/entrypoints/entrypoint_utils.h index eb32153b16..203ff3d031 100644 --- a/runtime/entrypoints/entrypoint_utils.h +++ b/runtime/entrypoints/entrypoint_utils.h @@ -34,6 +34,7 @@ namespace art { namespace mirror { class Array; class Class; +class MethodType; class Object; class String; } // namespace mirror @@ -151,6 +152,10 @@ inline ObjPtr<mirror::Class> ResolveVerifyAndClinit(dex::TypeIndex type_idx, REQUIRES_SHARED(Locks::mutator_lock_) REQUIRES(!Roles::uninterruptible_); +ObjPtr<mirror::MethodType> ResolveMethodTypeFromCode(ArtMethod* referrer, uint32_t proto_idx) + REQUIRES_SHARED(Locks::mutator_lock_) + REQUIRES(!Roles::uninterruptible_); + inline ObjPtr<mirror::String> ResolveStringFromCode(ArtMethod* referrer, dex::StringIndex string_idx) REQUIRES_SHARED(Locks::mutator_lock_) |