[mini] Remove the functions that were unexported in b05d4b93226c83489a65934f780beddab...
authorAlex Rønne Petersen <alexrp@xamarin.com>
Tue, 1 Aug 2017 19:53:01 +0000 (21:53 +0200)
committerAlex Rønne Petersen <alexrp@xamarin.com>
Tue, 1 Aug 2017 19:53:01 +0000 (21:53 +0200)
mono/mini/aot-runtime.c
mono/mini/mini-runtime.c

index 55624a6b1219b16eabdb3172e99b0a7f0e7fd426..01c2fe883933e8922c563f7ba899d0e22c4de338 100644 (file)
@@ -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.
index af88efa4abd17461d5d55f6a8530c57bd737542f..745ede4dea08a2ce6f4e8a3ceaf84d03e1a39fcd 100644 (file)
@@ -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)
 {