@@ -9509,27 +9509,27 @@ mono_lookup_icall_symbol (MonoMethod *m)
95099509// Storage for these enums is pointer-sized as it gets replaced with MonoType*.
95109510//
95119511// mono_create_icall_signatures depends on this order. Handle with care.
9512- // It is alphabetical.
95139512typedef enum ICallSigType {
95149513 ICALL_SIG_TYPE_bool = 0x00 ,
95159514 ICALL_SIG_TYPE_boolean = ICALL_SIG_TYPE_bool ,
95169515 ICALL_SIG_TYPE_double = 0x01 ,
95179516 ICALL_SIG_TYPE_float = 0x02 ,
95189517 ICALL_SIG_TYPE_int = 0x03 ,
95199518 ICALL_SIG_TYPE_int16 = 0x04 ,
9520- ICALL_SIG_TYPE_int32 = 0x05 ,
9521- ICALL_SIG_TYPE_int8 = 0x06 ,
9522- ICALL_SIG_TYPE_long = 0x07 ,
9523- ICALL_SIG_TYPE_obj = 0x08 ,
9519+ ICALL_SIG_TYPE_int32 = ICALL_SIG_TYPE_int ,
9520+ ICALL_SIG_TYPE_int8 = 0x05 ,
9521+ ICALL_SIG_TYPE_long = 0x06 ,
9522+ ICALL_SIG_TYPE_obj = 0x07 ,
95249523 ICALL_SIG_TYPE_object = ICALL_SIG_TYPE_obj ,
9525- ICALL_SIG_TYPE_ptr = ICALL_SIG_TYPE_int ,
9524+ ICALL_SIG_TYPE_ptr = 0x08 ,
95269525 ICALL_SIG_TYPE_ptrref = 0x09 ,
95279526 ICALL_SIG_TYPE_string = 0x0A ,
95289527 ICALL_SIG_TYPE_uint16 = 0x0B ,
95299528 ICALL_SIG_TYPE_uint32 = 0x0C ,
95309529 ICALL_SIG_TYPE_uint8 = 0x0D ,
95319530 ICALL_SIG_TYPE_ulong = 0x0E ,
95329531 ICALL_SIG_TYPE_void = 0x0F ,
9532+ ICALL_SIG_TYPE_sizet = 0x10
95339533} ICallSigType ;
95349534
95359535#define ICALL_SIG_TYPES_1 (a ) ICALL_SIG_TYPE_ ## a,
@@ -9592,19 +9592,20 @@ mono_create_icall_signatures (void)
95929592 m_class_get_byval_arg (mono_defaults .boolean_class ), // ICALL_SIG_TYPE_bool
95939593 m_class_get_byval_arg (mono_defaults .double_class ), // ICALL_SIG_TYPE_double
95949594 m_class_get_byval_arg (mono_defaults .single_class ), // ICALL_SIG_TYPE_float
9595- m_class_get_byval_arg (mono_defaults .int_class ), // ICALL_SIG_TYPE_int
9595+ m_class_get_byval_arg (mono_defaults .int32_class ), // ICALL_SIG_TYPE_int
95969596 m_class_get_byval_arg (mono_defaults .int16_class ), // ICALL_SIG_TYPE_int16
9597- m_class_get_byval_arg (mono_defaults .int32_class ), // ICALL_SIG_TYPE_int32
95989597 m_class_get_byval_arg (mono_defaults .sbyte_class ), // ICALL_SIG_TYPE_int8
95999598 m_class_get_byval_arg (mono_defaults .int64_class ), // ICALL_SIG_TYPE_long
96009599 m_class_get_byval_arg (mono_defaults .object_class ), // ICALL_SIG_TYPE_obj
9600+ m_class_get_byval_arg (mono_defaults .int_class ), // ICALL_SIG_TYPE_ptr
96019601 mono_class_get_byref_type (mono_defaults .int_class ), // ICALL_SIG_TYPE_ptrref
96029602 m_class_get_byval_arg (mono_defaults .string_class ), // ICALL_SIG_TYPE_string
96039603 m_class_get_byval_arg (mono_defaults .uint16_class ), // ICALL_SIG_TYPE_uint16
96049604 m_class_get_byval_arg (mono_defaults .uint32_class ), // ICALL_SIG_TYPE_uint32
96059605 m_class_get_byval_arg (mono_defaults .byte_class ), // ICALL_SIG_TYPE_uint8
96069606 m_class_get_byval_arg (mono_defaults .uint64_class ), // ICALL_SIG_TYPE_ulong
96079607 m_class_get_byval_arg (mono_defaults .void_class ), // ICALL_SIG_TYPE_void
9608+ m_class_get_byval_arg (mono_defaults .int_class ), // ICALL_SIG_TYPE_sizet
96089609 };
96099610
96109611 MonoMethodSignature_a * sig = (MonoMethodSignature * )& mono_icall_signatures ;
0 commit comments