summaryrefslogtreecommitdiff
path: root/runtime/art_method.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/art_method.h')
-rw-r--r--runtime/art_method.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/art_method.h b/runtime/art_method.h
index 7b435d5893..ff61065cb0 100644
--- a/runtime/art_method.h
+++ b/runtime/art_method.h
@@ -411,6 +411,10 @@ class ArtMethod final {
return MemberOffset(OFFSETOF_MEMBER(ArtMethod, method_index_));
}
+ static constexpr MemberOffset ImtIndexOffset() {
+ return MemberOffset(OFFSETOF_MEMBER(ArtMethod, imt_index_));
+ }
+
uint32_t GetCodeItemOffset() const {
return dex_code_item_offset_;
}