mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +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
|
||||
{
|
||||
// Always do sret on non-Windows 32-bit
|
||||
if ((typeUsage == BfTypeUsage_Return_NonStatic) || (typeUsage == BfTypeUsage_Return_Static))
|
||||
return false;
|
||||
// We know this is correct for Linux x86 and Android armv7
|
||||
if (mModule->mCompiler->mOptions.mPlatformType == BfPlatformType_Linux)
|
||||
{
|
||||
if ((typeUsage == BfTypeUsage_Return_NonStatic) || (typeUsage == BfTypeUsage_Return_Static))
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue