This change fixes a bug in the ArgIterator that resulted in assigning
floating point arguments that didn't fit to the xmm registers to general
purpose registers in the ArgIterator if there were some general purpose
registers available.
Commit migrated from https://github.com/dotnet/coreclr/commit/
92e2d4e6fe1d1af3ee761637f1c99e4e8616282c
m_fArgInRegisters = true;
int cFPRegs = 0;
+ int cGenRegs = 0;
int cbArg = StackElemSize(argSize);
- int cGenRegs = cbArg / 8; // GP reg size
switch (argType)
{
}
default:
+ cGenRegs = cbArg / 8; // GP reg size
break;
}