summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_options.h
diff options
context:
space:
mode:
authorRoland Levillain <rpl@google.com>2015-08-07 11:38:32 +0100
committerRoland Levillain <rpl@google.com>2015-08-07 11:38:32 +0100
commita215b95d03cfe713018a245553b74d7eeee813df (patch)
tree59e45e77430ab4df2067dd758a113c07eddeee51 /compiler/driver/compiler_options.h
parent33407564904d2186f536107e1ca8d88f2c760c83 (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.h4
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();