summaryrefslogtreecommitdiff
path: root/runtime/vdex_file.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/vdex_file.h')
-rw-r--r--runtime/vdex_file.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/vdex_file.h b/runtime/vdex_file.h
index e8d66ace8e..b9fd467017 100644
--- a/runtime/vdex_file.h
+++ b/runtime/vdex_file.h
@@ -223,6 +223,10 @@ class VdexFile {
ArrayRef<const uint8_t> GetQuickenedInfoOf(const DexFile& dex_file,
uint32_t dex_method_idx) const;
+ bool HasDexSection() const {
+ return GetHeader().GetDexSize() != 0;
+ }
+
private:
uint32_t GetQuickeningInfoTableOffset(const uint8_t* source_dex_begin) const;
@@ -240,10 +244,6 @@ class VdexFile {
uint32_t num_method_ids,
const ArrayRef<const uint8_t>& quickening_info) const;
- bool HasDexSection() const {
- return GetHeader().GetDexSize() != 0;
- }
-
bool ContainsDexFile(const DexFile& dex_file) const;
const uint8_t* DexBegin() const {