Remove use of compiled proxy stub from portable.
ARM implementation is tested, but x86 and MIPS are not.
Change-Id: I497d650c55fe7fd4ea24d283c8d8ee99b1456610
diff --git a/src/class_linker.cc b/src/class_linker.cc
index b5e4020..a9e17b2 100644
--- a/src/class_linker.cc
+++ b/src/class_linker.cc
@@ -2585,8 +2585,7 @@
#if !defined(ART_USE_PORTABLE_COMPILER)
method->SetCode(reinterpret_cast<void*>(art_quick_proxy_invoke_handler));
#else
- OatFile::OatMethod oat_method = GetOatMethodFor(prototype.get());
- method->SetCode(oat_method.GetProxyStub());
+ method->SetCode(reinterpret_cast<void*>(art_portable_proxy_invoke_handler));
#endif
return method;