Workaround for portable path.

After this commit, the portable path phone can boot.
Run-test: 044-proxy still fails.

Change-Id: I72368c799a47dd9b66a6672eae55bdaa8a5ac18c
diff --git a/src/compiler.cc b/src/compiler.cc
index 1be7b75..8d7f5b6 100644
--- a/src/compiler.cc
+++ b/src/compiler.cc
@@ -839,9 +839,15 @@
   // invoked, so this can be passed to the out-of-line runtime support code.
   direct_code = 0;
   direct_method = 0;
+#if !defined(ART_USE_LLVM_COMPILER)
   if (sharp_type != kStatic && sharp_type != kDirect && sharp_type != kInterface) {
     return;
   }
+#else
+  if (sharp_type != kStatic && sharp_type != kDirect) {
+    return;
+  }
+#endif
   bool method_code_in_boot = method->GetDeclaringClass()->GetClassLoader() == NULL;
   if (!method_code_in_boot) {
     return;