diff options
Diffstat (limited to 'tools/cpp-define-generator/art_method.def')
-rw-r--r-- | tools/cpp-define-generator/art_method.def | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/cpp-define-generator/art_method.def b/tools/cpp-define-generator/art_method.def index 097d4662e1..7b5606f935 100644 --- a/tools/cpp-define-generator/art_method.def +++ b/tools/cpp-define-generator/art_method.def @@ -16,12 +16,15 @@ #if ASM_DEFINE_INCLUDE_DEPENDENCIES #include "art_method.h" +#include "imtable.h" #endif ASM_DEFINE(ART_METHOD_ACCESS_FLAGS_OFFSET, art::ArtMethod::AccessFlagsOffset().Int32Value()) ASM_DEFINE(ART_METHOD_IS_STATIC_FLAG, art::kAccStatic) +ASM_DEFINE(ART_METHOD_IMT_MASK, + art::ImTable::kSizeTruncToPowerOfTwo - 1) ASM_DEFINE(ART_METHOD_DECLARING_CLASS_OFFSET, art::ArtMethod::DeclaringClassOffset().Int32Value()) ASM_DEFINE(ART_METHOD_JNI_OFFSET_32, |