summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/jni_internal_test.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/jni_internal_test.cc b/src/jni_internal_test.cc
index 61bad4309d..39768d138c 100644
--- a/src/jni_internal_test.cc
+++ b/src/jni_internal_test.cc
@@ -1032,6 +1032,7 @@ TEST_F(JniInternalTest, StaticIdentityDoubleMethod) {
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 @@ static byte* CreateArgArray(Method* method, JValue* args) {
}
return arg_array.release();
}
+#endif
TEST_F(JniInternalTest, StaticSumIntIntMethod) {
SirtRef<ClassLoader> class_loader(LoadDex("StaticLeafMethods"));