summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_options.h
diff options
context:
space:
mode:
author Roland Levillain <rpl@google.com> 2015-08-07 10:50:06 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-08-07 10:50:06 +0000
commit62dee441fff15e951c577b9565f87bb5f27c5ffb (patch)
tree59e45e77430ab4df2067dd758a113c07eddeee51 /compiler/driver/compiler_options.h
parent33407564904d2186f536107e1ca8d88f2c760c83 (diff)
parenta215b95d03cfe713018a245553b74d7eeee813df (diff)
Merge "Tighten default inlining settings when using the space filter."
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();