diff options
author | 2024-03-06 16:08:30 +0000 | |
---|---|---|
committer | 2024-03-07 13:09:23 +0000 | |
commit | 3370f9fc477f0b25c4c6b10321b3f8e46903ad4f (patch) | |
tree | 1ec09145709f81de8baca9b543aa471a04b41a72 /compiler/common_compiler_test.cc | |
parent | c8b6e26aa56bb6761bb781d1095b36f84c4c65d4 (diff) |
Remove Compiler::Kind
It only has one true value (Optimizing) since Quick is obsolete.
Bug: 289199192
Test: art/test/testrunner/testrunner.py --host --64 --optimizing -b
Change-Id: Ib7394d4e54cf3e22ea7fc09b9a951081d71f0365
Diffstat (limited to 'compiler/common_compiler_test.cc')
-rw-r--r-- | compiler/common_compiler_test.cc | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/compiler/common_compiler_test.cc b/compiler/common_compiler_test.cc index d2cf3aef3c..8c05888215 100644 --- a/compiler/common_compiler_test.cc +++ b/compiler/common_compiler_test.cc @@ -255,14 +255,6 @@ void CommonCompilerTestImpl::SetUpRuntimeOptionsImpl() { ApplyInstructionSet(); } -Compiler::Kind CommonCompilerTestImpl::GetCompilerKind() const { - return compiler_kind_; -} - -void CommonCompilerTestImpl::SetCompilerKind(Compiler::Kind compiler_kind) { - compiler_kind_ = compiler_kind; -} - void CommonCompilerTestImpl::TearDown() { code_and_metadata_.clear(); compiler_options_.reset(); @@ -278,8 +270,7 @@ void CommonCompilerTestImpl::CompileMethod(ArtMethod* method) { DCHECK(!Runtime::Current()->IsStarted()); Thread* self = Thread::Current(); StackHandleScope<2> hs(self); - std::unique_ptr<Compiler> compiler( - Compiler::Create(*compiler_options_, &storage, compiler_kind_)); + std::unique_ptr<Compiler> compiler(Compiler::Create(*compiler_options_, &storage)); const DexFile& dex_file = *method->GetDexFile(); Handle<mirror::DexCache> dex_cache = hs.NewHandle(GetClassLinker()->FindDexCache(self, dex_file)); |