summaryrefslogtreecommitdiff
path: root/compiler/jit/jit_compiler.h
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2020-06-17 14:31:56 +0100
committer Nicolas Geoffray <ngeoffray@google.com> 2020-06-18 08:37:10 +0000
commit0d60a2b1eaa2cd2ec3481e49578b77405353efa1 (patch)
tree91f16b9321ef7631aff731b10da2024c6c9d2029 /compiler/jit/jit_compiler.h
parent289bd1cccdb3aa37e2d129980f5c151f52f84897 (diff)
Introduce an enum for the compilation kind.
Test: test.py Change-Id: I5329e50a6b4521933b6b171c8c0fbc618c3f67cd
Diffstat (limited to 'compiler/jit/jit_compiler.h')
-rw-r--r--compiler/jit/jit_compiler.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/jit/jit_compiler.h b/compiler/jit/jit_compiler.h
index 09de1f8681..9dd84f0e0a 100644
--- a/compiler/jit/jit_compiler.h
+++ b/compiler/jit/jit_compiler.h
@@ -18,6 +18,7 @@
#define ART_COMPILER_JIT_JIT_COMPILER_H_
#include "base/mutex.h"
+#include "compilation_kind.h"
#include "jit/jit.h"
@@ -40,7 +41,7 @@ class JitCompiler : public JitCompilerInterface {
// Compilation entrypoint. Returns whether the compilation succeeded.
bool CompileMethod(
- Thread* self, JitMemoryRegion* region, ArtMethod* method, bool baseline, bool osr)
+ Thread* self, JitMemoryRegion* region, ArtMethod* method, CompilationKind kind)
REQUIRES_SHARED(Locks::mutator_lock_) override;
const CompilerOptions& GetCompilerOptions() const {