diff --git a/src/coreclr/jit/gentree.h b/src/coreclr/jit/gentree.h index 4362f71c983578..0d374e712d1b12 100644 --- a/src/coreclr/jit/gentree.h +++ b/src/coreclr/jit/gentree.h @@ -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 @@ -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) diff --git a/src/coreclr/jit/morph.cpp b/src/coreclr/jit/morph.cpp index 1c9fc51d48567d..8a58576f7f348d 100644 --- a/src/coreclr/jit/morph.cpp +++ b/src/coreclr/jit/morph.cpp @@ -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) {