From 4b3946a55516b9218063171d827009a1ffde7ba3 Mon Sep 17 00:00:00 2001 From: Mathieu Chartier Date: Tue, 2 Jul 2019 15:24:18 -0700 Subject: Remove small and tiny method options These are unused and nops. Test: test-art-host-gtest Change-Id: I6421387d53ec8692cf420be71ec47e1ef5e61f19 --- compiler/driver/compiler_options_map-inl.h | 8 -------- 1 file changed, 8 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 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() .IntoKey(Map::LargeMethodMaxThreshold) - .Define("--small-method-max=_") - .template WithType() - .IntoKey(Map::SmallMethodMaxThreshold) - .Define("--tiny-method-max=_") - .template WithType() - .IntoKey(Map::TinyMethodMaxThreshold) .Define("--num-dex-methods=_") .template WithType() .IntoKey(Map::NumDexMethodsThreshold) -- cgit v1.2.3-59-g8ed1b