Skip to content

Commit

Permalink
[runtime] Fix the --enable-minimal=aot build. (#31684)
Browse files Browse the repository at this point in the history
  • Loading branch information
vargaz authored Feb 4, 2020
1 parent 3e5f870 commit bc5e7e3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/mono/mono/mini/aot-compiler.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 7 additions & 0 deletions src/mono/mono/mini/aot-runtime.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit bc5e7e3

Please sign in to comment.