Skip to content

Commit d3a7c42

Browse files
authored
JIT: Delete some unused fields in CallArgABIInformation (#99972)
1 parent ffe7e26 commit d3a7c42

2 files changed

Lines changed: 0 additions & 8 deletions

File tree

src/coreclr/jit/gentree.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4435,10 +4435,6 @@ struct CallArgABIInformation
44354435
, ByteOffset(0)
44364436
, ByteSize(0)
44374437
, ByteAlignment(0)
4438-
#ifdef UNIX_AMD64_ABI
4439-
, StructIntRegs(0)
4440-
, StructFloatRegs(0)
4441-
#endif
44424438
#if defined(TARGET_LOONGARCH64) || defined(TARGET_RISCV64)
44434439
, StructFloatFieldType()
44444440
#endif
@@ -4474,8 +4470,6 @@ struct CallArgABIInformation
44744470
// Unix amd64 will split floating point types and integer types in structs
44754471
// between floating point and general purpose registers. Keep track of that
44764472
// information so we do not need to recompute it later.
4477-
unsigned StructIntRegs;
4478-
unsigned StructFloatRegs;
44794473
SYSTEMV_AMD64_CORINFO_STRUCT_REG_PASSING_DESCRIPTOR StructDesc;
44804474
#endif // UNIX_AMD64_ABI
44814475
#if defined(TARGET_LOONGARCH64) || defined(TARGET_RISCV64)

src/coreclr/jit/morph.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2844,8 +2844,6 @@ void CallArgs::AddFinalArgsAndDetermineABIInfo(Compiler* comp, GenTreeCall* call
28442844
arg.AbiInfo.NumRegs = size;
28452845
arg.AbiInfo.SetByteSize(byteSize, argAlignBytes, isStructArg, isFloatHfa);
28462846
#ifdef UNIX_AMD64_ABI
2847-
arg.AbiInfo.StructIntRegs = structIntRegs;
2848-
arg.AbiInfo.StructFloatRegs = structFloatRegs;
28492847

28502848
if (isStructArg)
28512849
{

0 commit comments

Comments
 (0)