diff options
Diffstat (limited to 'runtime/dex/dex_file_annotations.h')
-rw-r--r-- | runtime/dex/dex_file_annotations.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/dex/dex_file_annotations.h b/runtime/dex/dex_file_annotations.h index 75951a7cef..ea11e10c96 100644 --- a/runtime/dex/dex_file_annotations.h +++ b/runtime/dex/dex_file_annotations.h @@ -91,6 +91,11 @@ uint32_t GetNativeMethodAnnotationAccessFlags(const DexFile& dex_file, bool MethodIsNeverCompile(const DexFile& dex_file, const dex::ClassDef& class_def, uint32_t method_index); +// Is the method from the `dex_file` with the given `field_index` +// annotated with @dalvik.annotation.optimization.NeverInline? +bool MethodIsNeverInline(const DexFile& dex_file, + const dex::ClassDef& class_def, + uint32_t method_index); // Is the field from the `dex_file` with the given `field_index` // annotated with @dalvik.annotation.optimization.ReachabilitySensitive? bool FieldIsReachabilitySensitive(const DexFile& dex_file, |