diff options
Diffstat (limited to 'runtime/vdex_file.h')
| -rw-r--r-- | runtime/vdex_file.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/runtime/vdex_file.h b/runtime/vdex_file.h index 0f347952c9..d27f431cdc 100644 --- a/runtime/vdex_file.h +++ b/runtime/vdex_file.h @@ -22,6 +22,7 @@ #include "base/array_ref.h" #include "base/macros.h" +#include "dex/compact_offset_table.h" #include "mem_map.h" #include "os.h" #include "quicken_info.h" @@ -87,8 +88,8 @@ class VdexFile { private: static constexpr uint8_t kVdexMagic[] = { 'v', 'd', 'e', 'x' }; - // Last update: Fix separate section for compact dex data. - static constexpr uint8_t kVdexVersion[] = { '0', '1', '7', '\0' }; + // Last update: Change quickening info table format. + static constexpr uint8_t kVdexVersion[] = { '0', '1', '8', '\0' }; uint8_t magic_[4]; uint8_t version_[4]; @@ -238,13 +239,12 @@ class VdexFile { const uint8_t* source_dex_begin, bool decompile_return_instruction) const; - QuickenInfoOffsetTableAccessor GetQuickenInfoOffsetTable( + CompactOffsetTable::Accessor GetQuickenInfoOffsetTable( const DexFile& dex_file, const ArrayRef<const uint8_t>& quickening_info) const; - QuickenInfoOffsetTableAccessor GetQuickenInfoOffsetTable( + CompactOffsetTable::Accessor GetQuickenInfoOffsetTable( const uint8_t* source_dex_begin, - uint32_t num_method_ids, const ArrayRef<const uint8_t>& quickening_info) const; bool ContainsDexFile(const DexFile& dex_file) const; |