From 3144e6e90ea7ad3261d9fc4a6020a2c034323bd6 Mon Sep 17 00:00:00 2001 From: Vlad - Alexandru Ionescu Date: Sat, 13 May 2023 03:26:02 +0200 Subject: [PATCH] Fixed typo Signed-off-by: Vlad - Alexandru Ionescu --- src/mono/mono/mini/aot-compiler.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mono/mono/mini/aot-compiler.c b/src/mono/mono/mini/aot-compiler.c index a3eca9df8987a..71499235f94bf 100644 --- a/src/mono/mono/mini/aot-compiler.c +++ b/src/mono/mono/mini/aot-compiler.c @@ -5010,7 +5010,7 @@ add_full_aot_wrappers (MonoAotCompile *acfg) g_assert (is_ok (error)); /* FIXME don't swallow the error */ sig = mono_method_signature_internal (method); - if (sig->param_count && !m_class_is_byreflike (mono_class_from_mono_type_internal (sig->params [0])) && !m_type_is_byref (sig->params [0])) + if (sig->param_count && !m_class_is_byreflike (mono_class_from_mono_type_internal (sig->params [0])) && !m_type_is_byref (sig->params [0])) { m = mono_marshal_get_delegate_invoke_internal (inst, TRUE, FALSE, NULL); gshared = mini_get_shared_method_full (m, SHARE_MODE_NONE, error); @@ -5027,7 +5027,7 @@ add_full_aot_wrappers (MonoAotCompile *acfg) add_method (acfg, m); sig = mono_method_signature_internal (method); - if (sig->param_count && !m_class_is_byreflike (mono_class_from_mono_type_internal (sig->params [0])) && !m_type_is_byref (sig->params [0])) + if (sig->param_count && !m_class_is_byreflike (mono_class_from_mono_type_internal (sig->params [0])) && !m_type_is_byref (sig->params [0])) { m = mono_marshal_get_delegate_invoke_internal (method, TRUE, FALSE, NULL); add_method (acfg, m); }