summaryrefslogtreecommitdiffstats
path: root/runtime/entrypoints/entrypoint_utils.cc
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2014-03-26 23:52:41 -0700
committerIan Rogers <irogers@google.com>2014-03-26 23:56:58 -0700
commit84956ff6c0ff150d86a08157216ded79217d860a (patch)
tree04177625872b89f27f00a53b574085416617ee0d /runtime/entrypoints/entrypoint_utils.cc
parent636583c586b78e188168e510452cef0645578f8d (diff)
downloadart-84956ff6c0ff150d86a08157216ded79217d860a.zip
art-84956ff6c0ff150d86a08157216ded79217d860a.tar.gz
art-84956ff6c0ff150d86a08157216ded79217d860a.tar.bz2
Reflection tidying.
Move out arguments to the right and make pointer not reference types. Remove unused unbox for argument routine. Simplify convert primitive routine for the case of identical types. Change-Id: I6456331b0f3f3e5f0b2c361a9f50b4ed1c9462a3
Diffstat (limited to 'runtime/entrypoints/entrypoint_utils.cc')
-rw-r--r--runtime/entrypoints/entrypoint_utils.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/entrypoints/entrypoint_utils.cc b/runtime/entrypoints/entrypoint_utils.cc
index 829ec4a..9e5f54c 100644
--- a/runtime/entrypoints/entrypoint_utils.cc
+++ b/runtime/entrypoints/entrypoint_utils.cc
@@ -200,7 +200,7 @@ JValue InvokeProxyInvocationHandler(ScopedObjectAccessUnchecked& soa, const char
}
ThrowLocation throw_location(rcvr, proxy_method, -1);
JValue result_unboxed;
- if (!UnboxPrimitiveForResult(throw_location, result_ref, result_type, result_unboxed)) {
+ if (!UnboxPrimitiveForResult(throw_location, result_ref, result_type, &result_unboxed)) {
DCHECK(soa.Self()->IsExceptionPending());
return zero;
}