Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
kg committed Mar 21, 2024
1 parent e24dd91 commit 89e4aee
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/mono/mono/metadata/metadata.c
Original file line number Diff line number Diff line change
Expand Up @@ -1495,8 +1495,8 @@ mono_metadata_decode_row_col_raw (const MonoTableInfo *t, int idx, guint col)
return 0;
}

MONO_ALWAYS_INLINE guint32
mono_metadata_decode_value_scalar (const guint8 *ptr, const guint8 **new_ptr)
static MONO_ALWAYS_INLINE guint32
decode_value_scalar (const guint8 *ptr, const guint8 **new_ptr)
{
guint32 result;
guint8 b = *ptr;
Expand Down Expand Up @@ -1598,7 +1598,7 @@ mono_metadata_decode_value_simd (const guint8 *ptr, const guint8 **new_ptr)

return result;
#else
return mono_metadata_decode_value_scalar (ptr, rptr);
return decode_value_scalar (ptr, rptr);
#endif
}

Expand Down Expand Up @@ -6079,7 +6079,7 @@ signature_equiv_vararg (MonoMethodSignature *sig1, MonoMethodSignature *sig2, in
if (sig1->hasthis != sig2->hasthis ||
sig1->sentinelpos != sig2->sentinelpos)
return FALSE;

int flag = MONO_TYPE_EQ_FLAGS_SIG_ONLY | (((equiv_flags & SIG_EQUIV_FLAG_IGNORE_CMODS) != 0) ? MONO_TYPE_EQ_FLAG_IGNORE_CMODS : 0);

for (i = 0; i < sig1->sentinelpos; i++) {
Expand Down

0 comments on commit 89e4aee

Please sign in to comment.