mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Fixed win x64 lowering issue
This commit is contained in:
parent
ced4321239
commit
5c3d0021b1
4 changed files with 12 additions and 2 deletions
|
@ -646,6 +646,15 @@ bool BfMethodInstance::GetLoweredReturnType(BfTypeCode* loweredTypeCode, BfTypeC
|
|||
return mReturnType->GetLoweredType(mMethodDef->mIsStatic ? BfTypeUsage_Return_Static : BfTypeUsage_Return_NonStatic, loweredTypeCode, loweredTypeCode2);
|
||||
}
|
||||
|
||||
bool BfMethodInstance::WantsIRStructsByVal()
|
||||
{
|
||||
auto owner = GetOwner();
|
||||
if ((owner->mModule->mCompiler->mOptions.mPlatformType == BfPlatformType_Windows) &&
|
||||
(owner->mModule->mCompiler->mOptions.mMachineType == BfMachineType_x64))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
bool BfMethodInstance::IsSkipCall(bool bypassVirtual)
|
||||
{
|
||||
if ((mMethodDef->mIsSkipCall) &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue