Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
Signed-off-by: Vlad - Alexandru Ionescu <[email protected]>
  • Loading branch information
Vlad - Alexandru Ionescu authored and Vlad - Alexandru Ionescu committed May 13, 2023
1 parent 1405f3f commit 3144e6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mono/mono/mini/aot-compiler.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
}
Expand Down

0 comments on commit 3144e6e

Please sign in to comment.