1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 04:22:20 +02:00

Potential armv7 lowering fix

This commit is contained in:
Brian Fiete 2020-08-25 08:12:31 -07:00
parent 2100bd31fd
commit 485eb832b1

View file

@ -1715,6 +1715,12 @@ bool BfTypeInstance::GetLoweredType(BfTypeUsage typeUsage, BfTypeCode* outTypeCo
return true;
}
}
else
{
// Always do sret on non-Windows 32-bit
if ((typeUsage == BfTypeUsage_Return_NonStatic) || (typeUsage == BfTypeUsage_Return_Static))
return false;
}
}
BfTypeCode typeCode = BfTypeCode_None;