summaryrefslogtreecommitdiff
path: root/src/compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler.h')
-rw-r--r--src/compiler.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/compiler.h b/src/compiler.h
index 6c67298b43..7b66d52b15 100644
--- a/src/compiler.h
+++ b/src/compiler.h
@@ -33,6 +33,8 @@
namespace art {
+class TimingLogger;
+
class Compiler {
public:
// Create a compiler targeting the requested "instruction_set".
@@ -109,7 +111,7 @@ class Compiler {
// Checks if class specified by type_idx is one of the image_classes_
bool IsImageClass(const std::string& descriptor) const;
- void PreCompile(const ClassLoader* class_loader, const std::vector<const DexFile*>& dex_files);
+ void PreCompile(const ClassLoader* class_loader, const std::vector<const DexFile*>& dex_files, TimingLogger& timing);
void PostCompile(const ClassLoader* class_loader, const std::vector<const DexFile*>& dex_files);
// Attempt to resolve all type, methods, fields, and strings