summaryrefslogtreecommitdiff
path: root/dex2oat/driver/compiler_driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'dex2oat/driver/compiler_driver.h')
-rw-r--r--dex2oat/driver/compiler_driver.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/dex2oat/driver/compiler_driver.h b/dex2oat/driver/compiler_driver.h
index db03ab672e..06c81fb7b7 100644
--- a/dex2oat/driver/compiler_driver.h
+++ b/dex2oat/driver/compiler_driver.h
@@ -135,7 +135,11 @@ class CompilerDriver {
ClassStatus GetClassStatus(const ClassReference& ref) const;
bool GetCompiledClass(const ClassReference& ref, ClassStatus* status) const;
+ using CompiledMethodArray = dchecked_vector<Atomic<CompiledMethod*>>;
+ const CompiledMethodArray* GetCompiledMethods(const DexFile* dex_file) const;
+
CompiledMethod* GetCompiledMethod(MethodReference ref) const;
+
// Add a compiled method.
void AddCompiledMethod(const MethodReference& method_ref, CompiledMethod* const compiled_method);
CompiledMethod* RemoveCompiledMethod(const MethodReference& method_ref);