summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_options.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.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.h')
-rw-r--r--compiler/driver/compiler_options.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/compiler/driver/compiler_options.h b/compiler/driver/compiler_options.h
index 0ab5ff1907..bd832b963e 100644
--- a/compiler/driver/compiler_options.h
+++ b/compiler/driver/compiler_options.h
@@ -62,8 +62,6 @@ class CompilerOptions final {
// Guide heuristics to determine whether to compile method if profile data not available.
static const size_t kDefaultHugeMethodThreshold = 10000;
static const size_t kDefaultLargeMethodThreshold = 600;
- static const size_t kDefaultSmallMethodThreshold = 60;
- static const size_t kDefaultTinyMethodThreshold = 20;
static const size_t kDefaultNumDexMethodsThreshold = 900;
static constexpr double kDefaultTopKProfileThreshold = 90.0;
static const bool kDefaultGenerateDebugInfo = false;
@@ -125,14 +123,6 @@ class CompilerOptions final {
return large_method_threshold_;
}
- size_t GetSmallMethodThreshold() const {
- return small_method_threshold_;
- }
-
- size_t GetTinyMethodThreshold() const {
- return tiny_method_threshold_;
- }
-
bool IsHugeMethod(size_t num_dalvik_instructions) const {
return num_dalvik_instructions > huge_method_threshold_;
}
@@ -141,14 +131,6 @@ class CompilerOptions final {
return num_dalvik_instructions > large_method_threshold_;
}
- bool IsSmallMethod(size_t num_dalvik_instructions) const {
- return num_dalvik_instructions > small_method_threshold_;
- }
-
- bool IsTinyMethod(size_t num_dalvik_instructions) const {
- return num_dalvik_instructions > tiny_method_threshold_;
- }
-
size_t GetNumDexMethodsThreshold() const {
return num_dex_methods_threshold_;
}
@@ -375,8 +357,6 @@ class CompilerOptions final {
CompilerFilter::Filter compiler_filter_;
size_t huge_method_threshold_;
size_t large_method_threshold_;
- size_t small_method_threshold_;
- size_t tiny_method_threshold_;
size_t num_dex_methods_threshold_;
size_t inline_max_code_units_;