summaryrefslogtreecommitdiff
path: root/compiler/jit/jit_compiler.h
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2021-11-29 14:47:21 +0000
committer Nicolas Geoffray <ngeoffray@google.com> 2021-11-29 16:50:35 +0000
commit8a608fab3f7479db4b21e7ad13b8f69c21658d32 (patch)
treecb0d7c4217fc253b0b0ccca99397cefa011ca197 /compiler/jit/jit_compiler.h
parentc813dd285835a8edc7e71082f48ff76060804232 (diff)
Handle baseline/optimized compilation kind in the runtime.
It used to be adjusted in the compiler, but that does not work anymore as the compiler now always requests a baseline compilation to have a profiling info. Test: 457-regs Bug: 146423102 Change-Id: I522bc515ef1c6f8737ada311265a6f8e0f4db3fd
Diffstat (limited to 'compiler/jit/jit_compiler.h')
-rw-r--r--compiler/jit/jit_compiler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/jit/jit_compiler.h b/compiler/jit/jit_compiler.h
index 9dd84f0e0a..8e9966db0e 100644
--- a/compiler/jit/jit_compiler.h
+++ b/compiler/jit/jit_compiler.h
@@ -48,6 +48,8 @@ class JitCompiler : public JitCompilerInterface {
return *compiler_options_.get();
}
+ bool IsBaselineCompiler() const override;
+
bool GenerateDebugInfo() override;
void ParseCompilerOptions() override;