diff options
| author | Tim Murray <timmurray@google.com> | 2017-06-07 19:26:42 +0000 |
|---|---|---|
| committer | android-build-merger <android-build-merger@google.com> | 2017-06-07 19:26:42 +0000 |
| commit | b51a8f004357ba8a538959558dac12ee0157db05 (patch) | |
| tree | f52da467d3783c2b783798c6d5e9968599fbdd3f /compiler/optimizing/inliner.cc | |
| parent | 4c6382c11f937e5fe19847cf003cc996a19eb975 (diff) | |
| parent | 95b71de329ffaae64109faeca23871d0bc5ac119 (diff) | |
Merge "Be less aggressive when inlining." into oc-dev am: ae80d305d9
am: 95b71de329
Change-Id: Ib615bd461531f5fa1a9bf80d03d7c7481f52cfdc
Diffstat (limited to 'compiler/optimizing/inliner.cc')
| -rw-r--r-- | compiler/optimizing/inliner.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/inliner.cc b/compiler/optimizing/inliner.cc index 9be6a512f56..142c95780ed 100644 --- a/compiler/optimizing/inliner.cc +++ b/compiler/optimizing/inliner.cc @@ -56,7 +56,7 @@ static constexpr size_t kMaximumNumberOfInstructionsForSmallMethod = 3; // Limit the number of dex registers that we accumulate while inlining // to avoid creating large amount of nested environments. -static constexpr size_t kMaximumNumberOfCumulatedDexRegisters = 64; +static constexpr size_t kMaximumNumberOfCumulatedDexRegisters = 32; // Limit recursive call inlining, which do not benefit from too // much inlining compared to code locality. |
