summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_options.h
diff options
context:
space:
mode:
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
commitd333389cf635e002658a77e64547631e05004447 (patch)
tree2931ee20acf1786eeb36bb994b08863de984395b /compiler/driver/compiler_options.h
parentf2ea71cdb3ee4f5198bc0298aa8be1f9e945ee1c (diff)
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/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 a34116d340..03cdd6186c 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();