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/class_linker.cc b/src/class_linker.cc
index 39fefcb..b5e4020 100644
--- a/src/class_linker.cc
+++ b/src/class_linker.cc
@@ -2707,10 +2707,9 @@
if (clinit != NULL) {
if (Runtime::Current()->IsStarted()) {
JValue result;
- JValue float_result;
- clinit->Invoke(self, NULL, 0, &result, &float_result);
+ clinit->Invoke(self, NULL, 0, &result, 'V');
} else {
- art::interpreter::EnterInterpreterFromInvoke(self, clinit, NULL, NULL, NULL, NULL);
+ art::interpreter::EnterInterpreterFromInvoke(self, clinit, NULL, NULL, NULL);
}
}