summaryrefslogtreecommitdiff
path: root/src/class_linker.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/class_linker.h')
-rw-r--r--src/class_linker.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/class_linker.h b/src/class_linker.h
index 8471cbc0cb..10d830523c 100644
--- a/src/class_linker.h
+++ b/src/class_linker.h
@@ -251,6 +251,9 @@ class ClassLinker {
const OatFile* FindOatFileForDexFile(const DexFile& dex_file);
const OatFile* FindOatFileFromOatLocation(const std::string& location);
+ // Find a DexFile within an OatFile given a DexFile location
+ const DexFile* FindDexFileFromDexLocation(const std::string& location);
+
// TODO: replace this with multiple methods that allocate the correct managed type.
template <class T>
ObjectArray<T>* AllocObjectArray(size_t length) {