Skip to content

Commit

Permalink
JIT: Delete some unused fields in CallArgABIInformation (#99972)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobbotsch committed Mar 20, 2024
1 parent ffe7e26 commit d3a7c42
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
6 changes: 0 additions & 6 deletions src/coreclr/jit/gentree.h
Original file line number Diff line number Diff line change
Expand Up @@ -4435,10 +4435,6 @@ struct CallArgABIInformation
, ByteOffset(0)
, ByteSize(0)
, ByteAlignment(0)
#ifdef UNIX_AMD64_ABI
, StructIntRegs(0)
, StructFloatRegs(0)
#endif
#if defined(TARGET_LOONGARCH64) || defined(TARGET_RISCV64)
, StructFloatFieldType()
#endif
Expand Down Expand Up @@ -4474,8 +4470,6 @@ struct CallArgABIInformation
// Unix amd64 will split floating point types and integer types in structs
// between floating point and general purpose registers. Keep track of that
// information so we do not need to recompute it later.
unsigned StructIntRegs;
unsigned StructFloatRegs;
SYSTEMV_AMD64_CORINFO_STRUCT_REG_PASSING_DESCRIPTOR StructDesc;
#endif // UNIX_AMD64_ABI
#if defined(TARGET_LOONGARCH64) || defined(TARGET_RISCV64)
Expand Down
2 changes: 0 additions & 2 deletions src/coreclr/jit/morph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2844,8 +2844,6 @@ void CallArgs::AddFinalArgsAndDetermineABIInfo(Compiler* comp, GenTreeCall* call
arg.AbiInfo.NumRegs = size;
arg.AbiInfo.SetByteSize(byteSize, argAlignBytes, isStructArg, isFloatHfa);
#ifdef UNIX_AMD64_ABI
arg.AbiInfo.StructIntRegs = structIntRegs;
arg.AbiInfo.StructFloatRegs = structFloatRegs;

if (isStructArg)
{
Expand Down

0 comments on commit d3a7c42

Please sign in to comment.