summaryrefslogtreecommitdiff
path: root/runtime/oat_file.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/oat_file.h')
-rw-r--r--runtime/oat_file.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/runtime/oat_file.h b/runtime/oat_file.h
index 61daa9579e..36a4d7b8fc 100644
--- a/runtime/oat_file.h
+++ b/runtime/oat_file.h
@@ -324,11 +324,6 @@ class OatFile {
return vdex_.get();
}
- // Whether the OatFile embeds the Dex code.
- bool ContainsDexCode() const {
- return uncompressed_dex_files_ == nullptr;
- }
-
protected:
OatFile(const std::string& filename, bool executable);
@@ -394,10 +389,6 @@ class OatFile {
// elements. std::list<> and std::deque<> satisfy this requirement, std::vector<> doesn't.
mutable std::list<std::string> string_cache_ GUARDED_BY(secondary_lookup_lock_);
- // Cache of dex files mapped directly from a location, in case the OatFile does
- // not embed the dex code.
- std::unique_ptr<std::vector<std::unique_ptr<const DexFile>>> uncompressed_dex_files_;
-
friend class gc::collector::DummyOatFile; // For modifying begin_ and end_.
friend class OatClass;
friend class art::OatDexFile;