From 8a608fab3f7479db4b21e7ad13b8f69c21658d32 Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Mon, 29 Nov 2021 14:47:21 +0000 Subject: 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 --- compiler/jit/jit_compiler.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'compiler/jit/jit_compiler.h') 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; -- cgit v1.2.3-59-g8ed1b