diff options
author | Roland Levillain <rpl@google.com> | 2015-08-07 12:22:28 +0100 |
---|---|---|
committer | Roland Levillain <rpl@google.com> | 2015-08-07 12:22:28 +0100 |
commit | d333389cf635e002658a77e64547631e05004447 (patch) | |
tree | 2931ee20acf1786eeb36bb994b08863de984395b /compiler | |
parent | f2ea71cdb3ee4f5198bc0298aa8be1f9e945ee1c (diff) | |
download | art-d333389cf635e002658a77e64547631e05004447.zip art-d333389cf635e002658a77e64547631e05004447.tar.gz art-d333389cf635e002658a77e64547631e05004447.tar.bz2 |
Tighten default inlining settings when using the space filter.
(cherry picked from commit a215b95d03cfe713018a245553b74d7eeee813df
and amended)
Bug: 21868508
Change-Id: Ic83813a966cef18e59447083926bf033aa587154
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/driver/compiler_options.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/driver/compiler_options.h b/compiler/driver/compiler_options.h index a34116d..03cdd61 100644 --- a/compiler/driver/compiler_options.h +++ b/compiler/driver/compiler_options.h @@ -54,6 +54,10 @@ class CompilerOptions FINAL { static const size_t kDefaultInlineDepthLimit = 5; static const size_t kDefaultInlineMaxCodeUnits = 100; + // Default inlining settings when the space filter is used. + static constexpr size_t kSpaceFilterInlineDepthLimit = 5; + static constexpr size_t kSpaceFilterInlineMaxCodeUnits = 10; + CompilerOptions(); ~CompilerOptions(); |