diff options
Diffstat (limited to 'runtime/oat_file.h')
| -rw-r--r-- | runtime/oat_file.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/runtime/oat_file.h b/runtime/oat_file.h index 27f8677f03..34f014123b 100644 --- a/runtime/oat_file.h +++ b/runtime/oat_file.h @@ -29,6 +29,7 @@ #include "mirror/class.h" #include "oat.h" #include "os.h" +#include "utils.h" namespace art { @@ -395,6 +396,10 @@ class OatDexFile FINAL { // Returns the offset to the OatClass information. Most callers should use GetOatClass. uint32_t GetOatClassOffset(uint16_t class_def_index) const; + const uint8_t* GetDexCacheArrays() const { + return dex_cache_arrays_; + } + ~OatDexFile(); private: @@ -403,7 +408,8 @@ class OatDexFile FINAL { const std::string& canonical_dex_file_location, uint32_t dex_file_checksum, const uint8_t* dex_file_pointer, - const uint32_t* oat_class_offsets_pointer); + const uint32_t* oat_class_offsets_pointer, + const uint8_t* dex_cache_arrays); const OatFile* const oat_file_; const std::string dex_file_location_; @@ -411,6 +417,7 @@ class OatDexFile FINAL { const uint32_t dex_file_location_checksum_; const uint8_t* const dex_file_pointer_; const uint32_t* const oat_class_offsets_pointer_; + const uint8_t* const dex_cache_arrays_; friend class OatFile; DISALLOW_COPY_AND_ASSIGN(OatDexFile); |