Skip to content

Commit bc5e7e3

Browse files
authored
[runtime] Fix the --enable-minimal=aot build. (#31684)
Fixes mono/mono#18675.
1 parent 3e5f870 commit bc5e7e3

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

src/mono/mono/mini/aot-compiler.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14263,4 +14263,11 @@ mono_aot_can_enter_interp (MonoMethod *method)
1426314263
return FALSE;
1426414264
}
1426514265

14266+
int
14267+
mono_aot_get_method_index (MonoMethod *method)
14268+
{
14269+
g_assert_not_reached ();
14270+
return 0;
14271+
}
14272+
1426614273
#endif

src/mono/mono/mini/aot-runtime.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6466,4 +6466,11 @@ mono_aot_get_method_flags (guint8 *code)
64666466
return MONO_AOT_METHOD_FLAG_NONE;
64676467
}
64686468

6469+
gboolean
6470+
mono_aot_init_llvmonly_method (gpointer aot_module, guint32 method_index, MonoClass *init_class, MonoError *error)
6471+
{
6472+
g_assert_not_reached ();
6473+
return FALSE;
6474+
}
6475+
64696476
#endif

0 commit comments

Comments
 (0)