Remove use of compiled invoke stubs from portable.
Now the invoke stubs can be safely removed. Tested and working on ARM,
basic testing done on x86/MIPS, but portable is currently broken for them
even without the change.
Change-Id: Ib73f2b7aa9d81f5f0e1e817d16b9bec464c5a5aa
diff --git a/src/debugger.cc b/src/debugger.cc
index a2ebddf..080288f 100644
--- a/src/debugger.cc
+++ b/src/debugger.cc
@@ -2729,12 +2729,7 @@
MethodHelper mh(m);
ArgArray arg_array(mh.GetShorty(), mh.GetShortyLength());
arg_array.BuildArgArray(soa, pReq->receiver_, reinterpret_cast<jvalue*>(pReq->arg_values_));
- JValue unused_result;
- if (mh.IsReturnFloatOrDouble()) {
- InvokeWithArgArray(soa, m, &arg_array, &unused_result, &pReq->result_value);
- } else {
- InvokeWithArgArray(soa, m, &arg_array, &pReq->result_value, &unused_result);
- }
+ InvokeWithArgArray(soa, m, &arg_array, &pReq->result_value, mh.GetShorty()[0]);
pReq->exception = gRegistry->Add(soa.Self()->GetException());
pReq->result_tag = BasicTagFromDescriptor(MethodHelper(m).GetShorty());