diff options
author | Richard Uhler <ruhler@google.com> | 2015-04-03 17:47:14 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-04-03 17:49:53 +0000 |
commit | b2d4768e4adc6d880d2e17c5cf4293639c8adab7 (patch) | |
tree | 90fbeac8abf73fb9c15be0d89bc01d2572b69626 /runtime/oat_file.cc | |
parent | 698385411e5db8c7ac9bd4471f152b8c6ea7f7bf (diff) | |
parent | 07b3c2351bb527ea91c084dc19434600af9ae66b (diff) | |
download | android_art-b2d4768e4adc6d880d2e17c5cf4293639c8adab7.tar.gz android_art-b2d4768e4adc6d880d2e17c5cf4293639c8adab7.tar.bz2 android_art-b2d4768e4adc6d880d2e17c5cf4293639c8adab7.zip |
Merge "Store OatDexFile instead of OatFile in DexFile."
Diffstat (limited to 'runtime/oat_file.cc')
-rw-r--r-- | runtime/oat_file.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/runtime/oat_file.cc b/runtime/oat_file.cc index 69cb22d07a..81703b1b2a 100644 --- a/runtime/oat_file.cc +++ b/runtime/oat_file.cc @@ -453,7 +453,7 @@ size_t OatFile::OatDexFile::FileSize() const { std::unique_ptr<const DexFile> OatFile::OatDexFile::OpenDexFile(std::string* error_msg) const { return DexFile::Open(dex_file_pointer_, FileSize(), dex_file_location_, - dex_file_location_checksum_, GetOatFile(), error_msg); + dex_file_location_checksum_, this, error_msg); } uint32_t OatFile::OatDexFile::GetOatClassOffset(uint16_t class_def_index) const { @@ -495,12 +495,12 @@ OatFile::OatClass OatFile::OatDexFile::GetOatClass(uint16_t class_def_index) con CHECK_LE(methods_pointer, oat_file_->End()) << oat_file_->GetLocation(); } - return OatClass(oat_file_, - status, - type, - bitmap_size, - reinterpret_cast<const uint32_t*>(bitmap_pointer), - reinterpret_cast<const OatMethodOffsets*>(methods_pointer)); + return OatFile::OatClass(oat_file_, + status, + type, + bitmap_size, + reinterpret_cast<const uint32_t*>(bitmap_pointer), + reinterpret_cast<const OatMethodOffsets*>(methods_pointer)); } OatFile::OatClass::OatClass(const OatFile* oat_file, |