mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 20:12:21 +02:00
Android armv7 lowering change
This commit is contained in:
parent
2038d4d683
commit
7ac879c448
1 changed files with 6 additions and 3 deletions
|
@ -1717,9 +1717,12 @@ bool BfTypeInstance::GetLoweredType(BfTypeUsage typeUsage, BfTypeCode* outTypeCo
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Always do sret on non-Windows 32-bit
|
// We know this is correct for Linux x86 and Android armv7
|
||||||
if ((typeUsage == BfTypeUsage_Return_NonStatic) || (typeUsage == BfTypeUsage_Return_Static))
|
if (mModule->mCompiler->mOptions.mPlatformType == BfPlatformType_Linux)
|
||||||
return false;
|
{
|
||||||
|
if ((typeUsage == BfTypeUsage_Return_NonStatic) || (typeUsage == BfTypeUsage_Return_Static))
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue