summaryrefslogtreecommitdiff
path: root/dex2oat/driver/compiler_driver-inl.h
diff options
context:
space:
mode:
Diffstat (limited to 'dex2oat/driver/compiler_driver-inl.h')
-rw-r--r--dex2oat/driver/compiler_driver-inl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/dex2oat/driver/compiler_driver-inl.h b/dex2oat/driver/compiler_driver-inl.h
index a928b6dd02..e416770f91 100644
--- a/dex2oat/driver/compiler_driver-inl.h
+++ b/dex2oat/driver/compiler_driver-inl.h
@@ -29,6 +29,7 @@
#include "mirror/dex_cache-inl.h"
#include "runtime.h"
#include "scoped_thread_state_change-inl.h"
+#include "utils/atomic_dex_ref_map-inl.h"
namespace art {
@@ -99,6 +100,11 @@ inline std::pair<bool, bool> CompilerDriver::IsFastInstanceField(
return std::make_pair(fast_get, fast_put);
}
+inline const CompilerDriver::CompiledMethodArray* CompilerDriver::GetCompiledMethods(
+ const DexFile* dex_file) const {
+ return compiled_methods_.GetArray(dex_file);
+}
+
} // namespace art
#endif // ART_DEX2OAT_DRIVER_COMPILER_DRIVER_INL_H_