summaryrefslogtreecommitdiff
path: root/compiler/optimizing/inliner.cc
diff options
context:
space:
mode:
author Calin Juravle <calin@google.com> 2017-03-28 15:31:44 -0700
committer Calin Juravle <calin@google.com> 2017-03-29 16:19:53 -0700
commit8af70893e4f44367cc40837b0411d84a36c7ad7f (patch)
treeccbd5d6e80f07ef5c47443671beeb3f4ad86090d /compiler/optimizing/inliner.cc
parentf1e1c7e9b90662282615e165d6a1b06e05df8393 (diff)
(Re)enable the use of inline caches in AOT
Test: m test-art-host (638-checker-inline-caches, 644-checker-deopt) Bug: 36371709 Change-Id: Ic6e1b58845e7f7107be5a7041c47c44702af7b02
Diffstat (limited to 'compiler/optimizing/inliner.cc')
-rw-r--r--compiler/optimizing/inliner.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/inliner.cc b/compiler/optimizing/inliner.cc
index e1cf2485ab..79cd7048a5 100644
--- a/compiler/optimizing/inliner.cc
+++ b/compiler/optimizing/inliner.cc
@@ -63,7 +63,7 @@ static constexpr size_t kMaximumNumberOfCumulatedDexRegisters = 64;
static constexpr size_t kMaximumNumberOfRecursiveCalls = 4;
// Controls the use of inline caches in AOT mode.
-static constexpr bool kUseAOTInlineCaches = false;
+static constexpr bool kUseAOTInlineCaches = true;
// We check for line numbers to make sure the DepthString implementation
// aligns the output nicely.