JNI compiler.
Change-Id: Ia9a52cced70b8c44d1354e3342ad27f212c8d993
diff --git a/src/compiler.cc b/src/compiler.cc
index b7583d9..4664987 100644
--- a/src/compiler.cc
+++ b/src/compiler.cc
@@ -985,7 +985,11 @@
#endif
if ((access_flags & kAccNative) != 0) {
+#if defined(ART_USE_LLVM_COMPILER)
+ compiled_method = compiler_llvm_->CompileNativeMethod(oat_compilation_unit.get());
+#else
compiled_method = jni_compiler_.Compile(access_flags, method_idx, class_loader, dex_file);
+#endif
CHECK(compiled_method != NULL);
} else if ((access_flags & kAccAbstract) != 0) {
} else {