Be pro-active into ensuring a method is JITted in test.

Change-Id: I27d7bb76178478e6153e87a076bb39a4dc61f50b
diff --git a/test/604-hot-static-interface/hot_static_interface.cc b/test/604-hot-static-interface/hot_static_interface.cc
index 9c51ca6..21beae8 100644
--- a/test/604-hot-static-interface/hot_static_interface.cc
+++ b/test/604-hot-static-interface/hot_static_interface.cc
@@ -50,6 +50,8 @@
     } else {
       // yield to scheduler to give time to the JIT compiler.
       sched_yield();
+      // Will either ensure it's compiled or do the compilation itself.
+      jit->CompileMethod(method, Thread::Current(), /* osr */ false);
     }
   }
 }