diff --git a/src/mono/mono/mini/aot-compiler.c b/src/mono/mono/mini/aot-compiler.c index d194a35afec6e4..a30b0ef3593699 100644 --- a/src/mono/mono/mini/aot-compiler.c +++ b/src/mono/mono/mini/aot-compiler.c @@ -14263,4 +14263,11 @@ mono_aot_can_enter_interp (MonoMethod *method) return FALSE; } +int +mono_aot_get_method_index (MonoMethod *method) +{ + g_assert_not_reached (); + return 0; +} + #endif diff --git a/src/mono/mono/mini/aot-runtime.c b/src/mono/mono/mini/aot-runtime.c index c4b9484cf6364c..3786bb0ae85b58 100644 --- a/src/mono/mono/mini/aot-runtime.c +++ b/src/mono/mono/mini/aot-runtime.c @@ -6466,4 +6466,11 @@ mono_aot_get_method_flags (guint8 *code) return MONO_AOT_METHOD_FLAG_NONE; } +gboolean +mono_aot_init_llvmonly_method (gpointer aot_module, guint32 method_index, MonoClass *init_class, MonoError *error) +{ + g_assert_not_reached (); + return FALSE; +} + #endif