1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 03:52:19 +02:00

Add Mixin methog flag

This commit is contained in:
zkw 2024-04-27 13:52:00 +02:00
parent 1625d511be
commit 0d680ca5c2
4 changed files with 7 additions and 0 deletions

View file

@ -830,6 +830,8 @@ BfMethodFlags BfMethodInstance::GetMethodFlags()
methodFlags = (BfMethodFlags)(methodFlags | BfMethodFlags_Constructor);
if (mMethodDef->mIsReadOnly)
methodFlags = (BfMethodFlags)(methodFlags | BfMethodFlags_ReadOnly);
if (mMethodDef->mMethodType == BfMethodType_Mixin)
methodFlags = (BfMethodFlags)(methodFlags | BfMethodFlags_Mixin);
auto callingConvention = GetOwner()->mModule->GetIRCallingConvention(this);
if (callingConvention == BfIRCallingConv_ThisCall)