Fix the build by adding #if defined(ART_USE_LLVM_COMPILER)

Change-Id: Ib30784651bc30b841db1e4248bef061933b1fae9
diff --git a/src/jni_internal_test.cc b/src/jni_internal_test.cc
index 61bad43..39768d1 100644
--- a/src/jni_internal_test.cc
+++ b/src/jni_internal_test.cc
@@ -1032,6 +1032,7 @@
   EXPECT_EQ(DBL_MIN, result.d);
 }
 
+#if defined(ART_USE_LLVM_COMPILER)
 static byte* CreateArgArray(Method* method, JValue* args) {
   const char* shorty = MethodHelper(method).GetShorty();
   size_t shorty_len = strlen(shorty);
@@ -1062,6 +1063,7 @@
   }
   return arg_array.release();
 }
+#endif
 
 TEST_F(JniInternalTest, StaticSumIntIntMethod) {
   SirtRef<ClassLoader> class_loader(LoadDex("StaticLeafMethods"));