From 3370f9fc477f0b25c4c6b10321b3f8e46903ad4f Mon Sep 17 00:00:00 2001 From: Santiago Aboy Solanes Date: Wed, 6 Mar 2024 16:08:30 +0000 Subject: 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 --- compiler/compiler.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'compiler/compiler.h') diff --git a/compiler/compiler.h b/compiler/compiler.h index 6c317f7e02..843bbbb083 100644 --- a/compiler/compiler.h +++ b/compiler/compiler.h @@ -48,14 +48,8 @@ class Thread; class Compiler { public: - enum Kind { - kQuick, - kOptimizing - }; - EXPORT static Compiler* Create(const CompilerOptions& compiler_options, - CompiledCodeStorage* storage, - Kind kind); + CompiledCodeStorage* storage); virtual bool CanCompileMethod(uint32_t method_idx, const DexFile& dex_file) const = 0; -- cgit v1.2.3-59-g8ed1b