Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public CLong(int value)
}

/// <summary>
/// Constructs an instance from a native sized integer.
/// Constructs an instance from a native-sized integer.
/// </summary>
/// <param name="value">The integer value.</param>
/// <exception cref="OverflowException"><paramref name="value"/> is outside the range of the underlying storage type.</exception>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public CULong(uint value)
}

/// <summary>
/// Constructs an instance from a native sized unsigned integer.
/// Constructs an instance from a native-sized unsigned integer.
/// </summary>
/// <param name="value">The integer value.</param>
/// <exception cref="OverflowException"><paramref name="value"/> is outside the range of the underlying storage type.</exception>
Expand Down
2 changes: 1 addition & 1 deletion src/mono/mono/mini/mini-arm.c
Original file line number Diff line number Diff line change
Expand Up @@ -2108,7 +2108,7 @@ mono_arch_allocate_vars (MonoCompile *cfg)
if (cfg->gsharedvt && mini_is_gsharedvt_variable_type (t))
continue;

/* inst->backend.is_pinvoke indicates native sized value types, this is used by the
/* inst->backend.is_pinvoke indicates native-sized value types, this is used by the
* pinvoke wrappers when they call functions returning structure */
if (ins->backend.is_pinvoke && MONO_TYPE_ISSTRUCT (t) && t->type != MONO_TYPE_TYPEDBYREF) {
size = mono_class_native_size (mono_class_from_mono_type_internal (t), &ualign);
Expand Down
2 changes: 1 addition & 1 deletion src/mono/mono/mini/mini-s390x.c
Original file line number Diff line number Diff line change
Expand Up @@ -1606,7 +1606,7 @@ mono_arch_allocate_vars (MonoCompile *cfg)
continue;

/*--------------------------------------------------*/
/* inst->backend.is_pinvoke indicates native sized */
/* inst->backend.is_pinvoke indicates native-sized */
/* value types this is used by the pinvoke wrappers */
/* when they call functions returning structure */
/*--------------------------------------------------*/
Expand Down
4 changes: 2 additions & 2 deletions src/mono/mono/mini/mini.c
Original file line number Diff line number Diff line change
Expand Up @@ -1039,7 +1039,7 @@ mono_allocate_stack_slots2 (MonoCompile *cfg, gboolean backward, guint32 *stack_
if (cfg->gsharedvt && mini_is_gsharedvt_variable_type (t))
continue;

/* inst->backend.is_pinvoke indicates native sized value types, this is used by the
/* inst->backend.is_pinvoke indicates native-sized value types, this is used by the
* pinvoke wrappers when they call functions returning structures */
if (inst->backend.is_pinvoke && MONO_TYPE_ISSTRUCT (t) && t->type != MONO_TYPE_TYPEDBYREF) {
size = mono_class_native_size (mono_class_from_mono_type_internal (t), &align);
Expand Down Expand Up @@ -1348,7 +1348,7 @@ mono_allocate_stack_slots (MonoCompile *cfg, gboolean backward, guint32 *stack_s
if (cfg->gsharedvt && mini_is_gsharedvt_variable_type (t))
continue;

/* inst->backend.is_pinvoke indicates native sized value types, this is used by the
/* inst->backend.is_pinvoke indicates native-sized value types, this is used by the
* pinvoke wrappers when they call functions returning structures */
if (inst->backend.is_pinvoke && MONO_TYPE_ISSTRUCT (t) && t->type != MONO_TYPE_TYPEDBYREF) {
size = mono_class_native_size (mono_class_from_mono_type_internal (t), &align);
Expand Down
Loading