From 8ddd349fe55b0d43a3d9fdf6969619778151ab9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomek=20Sowi=C5=84ski?= Date: Thu, 25 Jul 2024 09:41:37 +0200 Subject: [PATCH] Add note for CORINFO_FPSTRUCT_LOWERING::loweredElements type --- src/coreclr/inc/corinfo.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/coreclr/inc/corinfo.h b/src/coreclr/inc/corinfo.h index 715c506c963c99..0574719eac8639 100644 --- a/src/coreclr/inc/corinfo.h +++ b/src/coreclr/inc/corinfo.h @@ -1909,6 +1909,8 @@ struct CORINFO_FPSTRUCT_LOWERING // Whether the struct should be passed by integer calling convention (cannot be passed by FP calling convention). bool byIntegerCallConv; // Types of lowered struct fields. + // Note: the integer field is denoted with a signed type reflecting size only so e.g. ushort is reported + // as CORINFO_TYPE_SHORT and Object or string is reported as CORINFO_TYPE_LONG. CorInfoType loweredElements[MAX_FPSTRUCT_LOWERED_ELEMENTS]; // Offsets of lowered struct fields. uint32_t offsets[MAX_FPSTRUCT_LOWERED_ELEMENTS];