diff options
author | Roland Levillain <rpl@google.com> | 2015-08-07 11:38:32 +0100 |
---|---|---|
committer | Roland Levillain <rpl@google.com> | 2015-08-07 11:38:32 +0100 |
commit | a215b95d03cfe713018a245553b74d7eeee813df (patch) | |
tree | 59e45e77430ab4df2067dd758a113c07eddeee51 /compiler/driver/compiler_options.h | |
parent | 33407564904d2186f536107e1ca8d88f2c760c83 (diff) |
Tighten default inlining settings when using the space filter.
Bug: 21868508
Change-Id: Ic83813a966cef18e59447083926bf033aa587154
Diffstat (limited to 'compiler/driver/compiler_options.h')
-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 17b19dd51e..d2a90ec87f 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 = 3; static const size_t kDefaultInlineMaxCodeUnits = 18; + // Default inlining settings when the space filter is used. + static constexpr size_t kSpaceFilterInlineDepthLimit = 3; + static constexpr size_t kSpaceFilterInlineMaxCodeUnits = 10; + CompilerOptions(); ~CompilerOptions(); |