summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_options.h
diff options
context:
space:
mode:
authorNicolas Geoffray <ngeoffray@google.com>2015-12-17 12:43:00 +0000
committerNicolas Geoffray <ngeoffray@google.com>2015-12-17 12:52:39 +0000
commitfcb7613d3aaa9a6802800b6e957aaad51cedf6dc (patch)
tree9ae15e4bfb0b3d90d69bc8538ba351c5ce9311bf /compiler/driver/compiler_options.h
parentad94d64719c2a82cdd312b318b8e50d80e2956c5 (diff)
Tweak inlining heuristics.
go/lem driven: Performance: Richards +41% CaffeineMethod +43% ReversiBench: +52% Towers: +73% Tak: +85% Memory use: 7% less memory CompileTime: 14% increase CodeSize: 8% increase Last three measures are now more acceptable given we JIT. Change-Id: Ic4aa6535d2b76cf3545ef00e9b2ae32330f10745
Diffstat (limited to 'compiler/driver/compiler_options.h')
-rw-r--r--compiler/driver/compiler_options.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/driver/compiler_options.h b/compiler/driver/compiler_options.h
index e6acab42f2..38c292729c 100644
--- a/compiler/driver/compiler_options.h
+++ b/compiler/driver/compiler_options.h
@@ -52,7 +52,7 @@ class CompilerOptions FINAL {
static const bool kDefaultGenerateDebugInfo = kIsDebugBuild;
static const bool kDefaultIncludePatchInformation = false;
static const size_t kDefaultInlineDepthLimit = 3;
- static const size_t kDefaultInlineMaxCodeUnits = 20;
+ static const size_t kDefaultInlineMaxCodeUnits = 32;
static constexpr size_t kUnsetInlineDepthLimit = -1;
static constexpr size_t kUnsetInlineMaxCodeUnits = -1;