diff options
author | monojenkins <jo.shields+jenkins@xamarin.com> | 2020-02-04 11:51:42 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-04 11:51:42 +0300 |
commit | 1a81bef2bd6d469c33caabe2c30feec1d3f1c956 (patch) | |
tree | 96f3d927dd2b2b1b47ffc8a99ee62166712f670b | |
parent | 08f4ef6d0ce583cde14673fc405db33b06d4a7c5 (diff) |
[runtime] Fix the --enable-minimal=aot build. (#18688)
Fixes https://github.com/mono/mono/issues/18675.
Co-authored-by: Zoltan Varga <vargaz@gmail.com>
-rw-r--r-- | mono/mini/aot-compiler.c | 7 | ||||
-rw-r--r-- | mono/mini/aot-runtime.c | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/mono/mini/aot-compiler.c b/mono/mini/aot-compiler.c index d194a35afec..a30b0ef3593 100644 --- a/mono/mini/aot-compiler.c +++ b/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/mono/mini/aot-runtime.c b/mono/mini/aot-runtime.c index c4b9484cf63..3786bb0ae85 100644 --- a/mono/mini/aot-runtime.c +++ b/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 |