summaryrefslogtreecommitdiff
path: root/compiler/jit/jit_compiler.cc
diff options
context:
space:
mode:
author Santiago Aboy Solanes <solanes@google.com> 2024-03-08 15:19:24 +0000
committer Santiago Aboy Solanes <solanes@google.com> 2024-03-11 09:52:35 +0000
commitf4034625860d2070e6902db82830120b16ed6402 (patch)
tree3f058ed5ae10f6e113ea24ce746cc817b084a512 /compiler/jit/jit_compiler.cc
parentedf5e48a22fa5094883275d2f924d7ffedcf2cb6 (diff)
Revert^2 "Remove Compiler::Kind"
This reverts commit f66031b556c386f582eab39b5c616104d77fc375. Reason for revert: The original CL got reverted due to a conflict with aosp/2919307. That other CL got reverted so we can reland as-is. Bug: 289199192 Change-Id: Ibe75708b00eac32210ac37655fc16e6ee6880368 Test: art/test/testrunner/testrunner.py --host --64 --optimizing -b
Diffstat (limited to 'compiler/jit/jit_compiler.cc')
-rw-r--r--compiler/jit/jit_compiler.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/jit/jit_compiler.cc b/compiler/jit/jit_compiler.cc
index c14d5d37e8..051368cc8a 100644
--- a/compiler/jit/jit_compiler.cc
+++ b/compiler/jit/jit_compiler.cc
@@ -165,8 +165,7 @@ std::vector<uint8_t> JitCompiler::PackElfFileForJIT(ArrayRef<const JITCodeEntry*
JitCompiler::JitCompiler() {
compiler_options_.reset(new CompilerOptions());
ParseCompilerOptions();
- compiler_.reset(
- Compiler::Create(*compiler_options_, /*storage=*/ nullptr, Compiler::kOptimizing));
+ compiler_.reset(Compiler::Create(*compiler_options_, /*storage=*/ nullptr));
}
JitCompiler::~JitCompiler() {