(Re)enable the use of inline caches in AOT
Test: m test-art-host (638-checker-inline-caches, 644-checker-deopt)
Bug: 36371709
(cherry picked from commit 8af70893e4f44367cc40837b0411d84a36c7ad7f)
Merged-In: I7ce4ac7363af1dbe558c496ed55132b393d55933
Change-Id: Ifa7e79992410b0b2d759bc4b1559fa33cbb8a599
diff --git a/compiler/optimizing/inliner.cc b/compiler/optimizing/inliner.cc
index e1cf248..79cd704 100644
--- a/compiler/optimizing/inliner.cc
+++ b/compiler/optimizing/inliner.cc
@@ -63,7 +63,7 @@
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.
diff --git a/test/knownfailures.json b/test/knownfailures.json
index 8aa0c55..3f722c7 100644
--- a/test/knownfailures.json
+++ b/test/knownfailures.json
@@ -362,9 +362,9 @@
"variant": "interp-ac"
},
{
- "tests": ["638-checker-inline-caches",
- "644-checker-deopt"],
- "description": ["Disabled temporarily until a fix arrives."],
- "bug": "http://b/36371709"
+ "tests": ["629-vdex-speed",
+ "634-vdex-duplicate"],
+ "description": ["Profile driven dexlayout does not work with vdex."],
+ "variant": "speed-profile"
}
]