Doh. Forgot to ensure it's compiled.
Change-Id: I7b1786497c6bd0e83d8afe70fabecfacc8ca6a3a
diff --git a/test/566-polymorphic-inlining/polymorphic_inline.cc b/test/566-polymorphic-inlining/polymorphic_inline.cc
index 5801b36..55eac5c 100644
--- a/test/566-polymorphic-inlining/polymorphic_inline.cc
+++ b/test/566-polymorphic-inlining/polymorphic_inline.cc
@@ -29,6 +29,8 @@
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()));