summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2016-01-28 18:15:53 +0000
committer Nicolas Geoffray <ngeoffray@google.com> 2016-01-28 18:15:53 +0000
commita60e220d9045409f8a626c6bac1050729b7ccf00 (patch)
tree4861d93d092309b23e45ea6287796580c3be352a /test
parent1aa9c118107695155cf68f8b2460a49fc9ba066e (diff)
Doh. Forgot to ensure it's compiled.
Change-Id: I7b1786497c6bd0e83d8afe70fabecfacc8ca6a3a
Diffstat (limited to 'test')
-rw-r--r--test/566-polymorphic-inlining/polymorphic_inline.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/566-polymorphic-inlining/polymorphic_inline.cc b/test/566-polymorphic-inlining/polymorphic_inline.cc
index 5801b36740..55eac5c30a 100644
--- a/test/566-polymorphic-inlining/polymorphic_inline.cc
+++ b/test/566-polymorphic-inlining/polymorphic_inline.cc
@@ -29,6 +29,8 @@ static void do_checks(jclass cls, const char* method_name) {
jit::Jit* jit = Runtime::Current()->GetJit();
jit::JitCodeCache* code_cache = jit->GetCodeCache();
ArtMethod* method = klass->FindDeclaredDirectMethodByName(method_name, sizeof(void*));
+ jit->CompileMethod(method, soa.Self());
+
OatQuickMethodHeader* header = OatQuickMethodHeader::FromEntryPoint(
method->GetEntryPointFromQuickCompiledCode());
CHECK(code_cache->ContainsPc(header->GetCode()));