summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_options_map-inl.h
diff options
context:
space:
mode:
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
}