Fix LLVM build by enforcing the use of accessors on JVAlue.
Change-Id: I3fd3333bc590f7017b4adbe4a83aaec098c756f6
diff --git a/src/compiler_llvm/runtime_support_llvm.cc b/src/compiler_llvm/runtime_support_llvm.cc
index 11cebb7..0011791 100644
--- a/src/compiler_llvm/runtime_support_llvm.cc
+++ b/src/compiler_llvm/runtime_support_llvm.cc
@@ -720,7 +720,7 @@
return;
}
}
- args->Set(i, val.l);
+ args->Set(i, val.GetL());
}
// Get the InvocationHandler method and the field that holds it within the Proxy object
@@ -748,7 +748,7 @@
Object* result_ref = thread->DecodeJObject(result);
JValue* result_unboxed = va_arg(ap, JValue*);
if (result_ref == NULL) {
- result_unboxed->l = NULL;
+ result_unboxed->SetL(NULL);
} else {
bool unboxed_okay = UnboxPrimitive(result_ref, proxy_mh.GetReturnType(), *result_unboxed, "result");
if (!unboxed_okay) {