diff options
author | 2021-11-29 14:47:21 +0000 | |
---|---|---|
committer | 2021-11-29 16:50:35 +0000 | |
commit | 8a608fab3f7479db4b21e7ad13b8f69c21658d32 (patch) | |
tree | cb0d7c4217fc253b0b0ccca99397cefa011ca197 /compiler/jit/jit_compiler.cc | |
parent | c813dd285835a8edc7e71082f48ff76060804232 (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.cc')
-rw-r--r-- | compiler/jit/jit_compiler.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/jit/jit_compiler.cc b/compiler/jit/jit_compiler.cc index f819cd8c97..44a4283ae1 100644 --- a/compiler/jit/jit_compiler.cc +++ b/compiler/jit/jit_compiler.cc @@ -208,5 +208,9 @@ bool JitCompiler::CompileMethod( return success; } +bool JitCompiler::IsBaselineCompiler() const { + return compiler_options_->IsBaseline(); +} + } // namespace jit } // namespace art |