1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Another armv7 lowering iteration

This commit is contained in:
Brian Fiete 2020-08-26 06:03:19 -07:00
parent 7ac879c448
commit 7e947265da

View file

@ -1758,7 +1758,7 @@ bool BfTypeInstance::GetLoweredType(BfTypeUsage typeUsage, BfTypeCode* outTypeCo
pow2TypeCode = BfTypeCode_Int64;
break;
}
if (typeUsage == BfTypeUsage_Return_Static)
if ((typeUsage == BfTypeUsage_Return_Static) && (mModule->mCompiler->mOptions.mPlatformType == BfPlatformType_Windows))
{
pow2TypeCode = BfTypeCode_Int64;
break;