Remove ClassLinker::SetEntryPointsToCompiledCode().
This function was used only for tests and it was essentially
just calling ArtMethod::SetEntryPointFromQuickCompiledCode()
in a very obscure way and required the memory before the
code pointer to contain a non-zero code size.
This is a follow-up to
https://android-review.googlesource.com/445648
that removed a problematic use of the function, calling it
with a pointer to an entrypoint instead of a pointer to
compiled managed code, i.e. without the pre-header that
should contain the non-zero code size.
Test: m test-art-host-gtest
Change-Id: I483450832443ea0589eb41c74491384bcd5d6ab8
3 files changed