summaryrefslogtreecommitdiffstats
path: root/runtime/class_linker.h
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2013-12-10 16:52:57 -0800
committerBrian Carlstrom <bdc@google.com>2013-12-10 23:44:07 -0800
commit08cbf66dc4632913f80f8ac18082c39b7d52c7dd (patch)
treea8c801c87a00d45672b3b2b45863626a139d86a2 /runtime/class_linker.h
parented61d742acea70a06d992eb037c7343c2ad74333 (diff)
downloadart-08cbf66dc4632913f80f8ac18082c39b7d52c7dd.zip
art-08cbf66dc4632913f80f8ac18082c39b7d52c7dd.tar.gz
art-08cbf66dc4632913f80f8ac18082c39b7d52c7dd.tar.bz2
Do not require classes.dex to support stripped zip files
Change-Id: Ief34c1b559dbebda85d181ae49da7d35446c9b37
Diffstat (limited to 'runtime/class_linker.h')
-rw-r--r--runtime/class_linker.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/class_linker.h b/runtime/class_linker.h
index 4e2cc06..edec9cb 100644
--- a/runtime/class_linker.h
+++ b/runtime/class_linker.h
@@ -268,7 +268,7 @@ class ClassLinker {
// that this returns null if the location checksum of the DexFile
// does not match the OatFile.
const DexFile* FindDexFileInOatFileFromDexLocation(const char* location,
- uint32_t location_checksum,
+ const uint32_t* const location_checksum,
std::string* error_msg)
LOCKS_EXCLUDED(dex_lock_, Locks::mutator_lock_);
@@ -495,7 +495,7 @@ class ClassLinker {
LOCKS_EXCLUDED(dex_lock_)
SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
const OatFile* FindOpenedOatFileFromDexLocation(const char* dex_location,
- uint32_t dex_location_checksum)
+ const uint32_t* const dex_location_checksum)
LOCKS_EXCLUDED(dex_lock);
const OatFile* FindOpenedOatFileFromOatLocation(const std::string& oat_location)
LOCKS_EXCLUDED(dex_lock_);