From: Alex Rønne Petersen Date: Tue, 1 Aug 2017 19:53:01 +0000 (+0200) Subject: [mini] Remove the functions that were unexported in b05d4b93226c83489a65934f780beddab... X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=e0b279ec618ca2a48f45267768df6c57cfceee72;p=mono.git [mini] Remove the functions that were unexported in b05d4b93226c83489a65934f780beddab3c2ef32. --- diff --git a/mono/mini/aot-runtime.c b/mono/mini/aot-runtime.c index 55624a6b121..01c2fe88393 100644 --- a/mono/mini/aot-runtime.c +++ b/mono/mini/aot-runtime.c @@ -4634,24 +4634,6 @@ mono_aot_get_method_checked (MonoDomain *domain, MonoMethod *method, MonoError * return code; } -/* - * mono_aot_get_method: - * - * Return a pointer to the AOTed native code for METHOD if it can be found, - * NULL otherwise. - * On platforms with function pointers, this doesn't return a function pointer. - */ -gpointer -mono_aot_get_method (MonoDomain *domain, MonoMethod *method) -{ - MonoError error; - - gpointer res = mono_aot_get_method_checked (domain, method, &error); - /* This is external only, so its ok to raise here */ - mono_error_raise_exception (&error); /* OK to throw, external only without a good alternative */ - return res; -} - /** * Same as mono_aot_get_method, but we try to avoid loading any metadata from the * method. diff --git a/mono/mini/mini-runtime.c b/mono/mini/mini-runtime.c index af88efa4abd..745ede4dea0 100644 --- a/mono/mini/mini-runtime.c +++ b/mono/mini/mini-runtime.c @@ -1735,12 +1735,6 @@ lookup_method (MonoDomain *domain, MonoMethod *method) return ji; } -MonoJitInfo * -mono_get_jit_info_from_method (MonoDomain *domain, MonoMethod *method) -{ - return lookup_method (domain, method); -} - MonoClass* mini_get_class (MonoMethod *method, guint32 token, MonoGenericContext *context) {