From f5307a31f5b67f6184cbb7e8b7fab61be3725fce Mon Sep 17 00:00:00 2001
From: Santiago Aboy Solanes <solanes@google.com>
Date: Mon, 30 Oct 2023 10:12:01 +0000
Subject: Allow compilation of large methods with no branches

Popular apps include such methods in their profiles. Having
the extra heuristic of skipping compilation for large methods
with no branches can be unintuitive for developers who created
those profiles.

Some apps see startup improvements with this heuristic removed.

Bug: 316617683
Test: art/test/testrunner/testrunner.py --host --64 --optimizing -b
Change-Id: I21a8da93e89399dac0e45c3ab43a8bbedc925a44
---
 compiler/driver/compiler_options_map.def | 1 -
 1 file changed, 1 deletion(-)

(limited to 'compiler/driver/compiler_options_map.def')

diff --git a/compiler/driver/compiler_options_map.def b/compiler/driver/compiler_options_map.def
index 133ad2b5d0..767a86cb89 100644
--- a/compiler/driver/compiler_options_map.def
+++ b/compiler/driver/compiler_options_map.def
@@ -40,7 +40,6 @@ COMPILER_OPTIONS_KEY (CompilerFilter::Filter,      CompilerFilter)
 COMPILER_OPTIONS_KEY (bool,                        CompileArtTest)
 COMPILER_OPTIONS_KEY (Unit,                        PIC)
 COMPILER_OPTIONS_KEY (unsigned int,                HugeMethodMaxThreshold)
-COMPILER_OPTIONS_KEY (unsigned int,                LargeMethodMaxThreshold)
 COMPILER_OPTIONS_KEY (unsigned int,                InlineMaxCodeUnitsThreshold)
 COMPILER_OPTIONS_KEY (bool,                        GenerateDebugInfo)
 COMPILER_OPTIONS_KEY (bool,                        GenerateMiniDebugInfo)
-- 
cgit v1.2.3-59-g8ed1b

