From 9b3acf7e0c45c84e01bab709531be6d26d2a6562 Mon Sep 17 00:00:00 2001 From: Santiago Aboy Solanes Date: Fri, 22 Mar 2024 14:08:46 +0000 Subject: Remove RegisterAllocator::Strategy It has been obsolete since graph color was removed. Bug: 281793697 Test: art/test/testrunner/testrunner.py --host --64 --optimizing -b Test: m test-art-host-gtest Change-Id: I8b42b0fe39a8601da7aa1288a8581ab8b4742614 --- compiler/driver/compiler_options_map-inl.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'compiler/driver/compiler_options_map-inl.h') diff --git a/compiler/driver/compiler_options_map-inl.h b/compiler/driver/compiler_options_map-inl.h index 317b2861b7..c11b387d1c 100644 --- a/compiler/driver/compiler_options_map-inl.h +++ b/compiler/driver/compiler_options_map-inl.h @@ -81,11 +81,6 @@ inline bool ReadCompilerOptions(Base& map, CompilerOptions* options, std::string if (map.Exists(Base::DumpCFGAppend)) { options->dump_cfg_append_ = true; } - if (map.Exists(Base::RegisterAllocationStrategy)) { - if (!options->ParseRegisterAllocationStrategy(*map.Get(Base::DumpInitFailures), error_msg)) { - return false; - } - } map.AssignIfExists(Base::VerboseMethods, &options->verbose_methods_); options->deduplicate_code_ = map.GetOrDefault(Base::DeduplicateCode); if (map.Exists(Base::CountHotnessInCompiledCode)) { @@ -221,10 +216,6 @@ NO_INLINE void AddCompilerOptionsArgumentParserOptions(Builder& b) { "behavior). This option is only meaningful when used with --dump-cfg.") .IntoKey(Map::DumpCFGAppend) - .Define("--register-allocation-strategy=_") - .template WithType() - .IntoKey(Map::RegisterAllocationStrategy) - .Define("--resolve-startup-const-strings=_") .template WithType() .WithValueMap({{"false", false}, {"true", true}}) @@ -252,6 +243,7 @@ NO_INLINE void AddCompilerOptionsArgumentParserOptions(Builder& b) { "--num-dex-methods=_", "--top-k-profile-threshold=_", "--large-method-max=_", + "--register-allocation-strategy=_" }); // clang-format on } -- cgit v1.2.3-59-g8ed1b