Removing remaining compiled stubs from image.
Abstract method error stub and jni dlsym lookup stubs are gone.
After this change, the image no longer needs to be executable.
Change-Id: Ic75d72bf7e76e3b8ecc596e82af68ab592dde15e
diff --git a/src/class_linker.cc b/src/class_linker.cc
index 9dee36a..d262a5d 100644
--- a/src/class_linker.cc
+++ b/src/class_linker.cc
@@ -1600,7 +1600,7 @@
Runtime* runtime = Runtime::Current();
if (method->IsAbstract()) {
- method->SetCode(runtime->GetAbstractMethodErrorStubArray()->GetData());
+ method->SetCode(GetAbstractMethodErrorStub());
return;
}