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:
parent
1625d511be
commit
0d680ca5c2
4 changed files with 7 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue