summaryrefslogtreecommitdiff
path: root/compiler/jit/jit_compiler.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2024-01-04 15:32:27 +0000
committer Nicolas Geoffray <ngeoffray@google.com> 2024-01-05 10:48:33 +0000
commit1a6b5b318aa69903a74dd10312a77bd8ee7c4cf6 (patch)
treef3d642409b55a567b88b5aa9b6d7998d0c450d68 /compiler/jit/jit_compiler.cc
parent853bebba8b6bb910f55894b9b9b0101953678b6c (diff)
Reland "Run optimizations with baseline compilation."
This reverts commit c8309515d099992b7cab8f2b8c6db3ed77671ff4. Bug: 313040662 Reason for revert: remove call to slow path on back edges. Change-Id: I3fe52295afcb0be4b4062f8d9060adb4abb64375
Diffstat (limited to 'compiler/jit/jit_compiler.cc')
-rw-r--r--compiler/jit/jit_compiler.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/jit/jit_compiler.cc b/compiler/jit/jit_compiler.cc
index 523a666f8a..c14d5d37e8 100644
--- a/compiler/jit/jit_compiler.cc
+++ b/compiler/jit/jit_compiler.cc
@@ -226,5 +226,9 @@ bool JitCompiler::IsBaselineCompiler() const {
return compiler_options_->IsBaseline();
}
+uint32_t JitCompiler::GetInlineMaxCodeUnits() const {
+ return compiler_options_->GetInlineMaxCodeUnits();
+}
+
} // namespace jit
} // namespace art