summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_options_map-inl.h
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2019-07-02 15:24:18 -0700
committerMathieu Chartier <mathieuc@google.com>2019-07-03 14:25:30 +0000
commit4b3946a55516b9218063171d827009a1ffde7ba3 (patch)
tree17e8ca78dd5066228e69e373fb45516116515360 /compiler/driver/compiler_options_map-inl.h
parent50bc8fb89c79874e731f245abda3b9e48a541cfe (diff)
Remove small and tiny method options
These are unused and nops. Test: test-art-host-gtest Change-Id: I6421387d53ec8692cf420be71ec47e1ef5e61f19
Diffstat (limited to 'compiler/driver/compiler_options_map-inl.h')
-rw-r--r--compiler/driver/compiler_options_map-inl.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/compiler/driver/compiler_options_map-inl.h b/compiler/driver/compiler_options_map-inl.h
index 7e2a64b52b..aebde101c8 100644
--- a/compiler/driver/compiler_options_map-inl.h
+++ b/compiler/driver/compiler_options_map-inl.h
@@ -45,8 +45,6 @@ inline bool ReadCompilerOptions(Base& map, CompilerOptions* options, std::string
}
map.AssignIfExists(Base::HugeMethodMaxThreshold, &options->huge_method_threshold_);
map.AssignIfExists(Base::LargeMethodMaxThreshold, &options->large_method_threshold_);
- map.AssignIfExists(Base::SmallMethodMaxThreshold, &options->small_method_threshold_);
- map.AssignIfExists(Base::TinyMethodMaxThreshold, &options->tiny_method_threshold_);
map.AssignIfExists(Base::NumDexMethodsThreshold, &options->num_dex_methods_threshold_);
map.AssignIfExists(Base::InlineMaxCodeUnitsThreshold, &options->inline_max_code_units_);
map.AssignIfExists(Base::GenerateDebugInfo, &options->generate_debug_info_);
@@ -117,12 +115,6 @@ inline void AddCompilerOptionsArgumentParserOptions(Builder& b) {
.Define("--large-method-max=_")
.template WithType<unsigned int>()
.IntoKey(Map::LargeMethodMaxThreshold)
- .Define("--small-method-max=_")
- .template WithType<unsigned int>()
- .IntoKey(Map::SmallMethodMaxThreshold)
- .Define("--tiny-method-max=_")
- .template WithType<unsigned int>()
- .IntoKey(Map::TinyMethodMaxThreshold)
.Define("--num-dex-methods=_")
.template WithType<unsigned int>()
.IntoKey(Map::NumDexMethodsThreshold)