summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_options_map-inl.h
diff options
context:
space:
mode:
author Santiago Aboy Solanes <solanes@google.com> 2024-03-22 14:08:46 +0000
committer Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2024-04-04 20:14:11 +0000
commit9b3acf7e0c45c84e01bab709531be6d26d2a6562 (patch)
tree6c9350db3ab2e428e90541886877a2fadbf78118 /compiler/driver/compiler_options_map-inl.h
parent97cf36494e4f63d8fe45f0ad21cb9f996c662eb2 (diff)
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
Diffstat (limited to 'compiler/driver/compiler_options_map-inl.h')
-rw-r--r--compiler/driver/compiler_options_map-inl.h10
1 files changed, 1 insertions, 9 deletions
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<std::string>()
- .IntoKey(Map::RegisterAllocationStrategy)
-
.Define("--resolve-startup-const-strings=_")
.template WithType<bool>()
.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
}