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
diff --git a/compiler/common_compiler_test.cc b/compiler/common_compiler_test.cc
index a9a718f..0d38620 100644
--- a/compiler/common_compiler_test.cc
+++ b/compiler/common_compiler_test.cc
@@ -95,7 +95,7 @@
     const void* method_code = CompiledMethod::CodePointer(code_ptr,
                                                           compiled_method->GetInstructionSet());
     LOG(INFO) << "MakeExecutable " << method->PrettyMethod() << " code=" << method_code;
-    class_linker_->SetEntryPointsToCompiledCode(method, method_code);
+    method->SetEntryPointFromQuickCompiledCode(method_code);
   } else {
     // No code? You must mean to go into the interpreter.
     // Or the generic JNI...