1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Added CallingConvention support, mangle specifying

This commit is contained in:
Brian Fiete 2020-05-04 07:15:38 -07:00
parent 904f907f1d
commit 61d9edea83
26 changed files with 413 additions and 96 deletions

View file

@ -747,6 +747,7 @@ public:
bool mDisallowCalling:1;
bool mIsGenericMethodInstance:1;
BfMethodChainType mChainType;
BfCallingConvention mCallingConvention;
BfMethodInstanceGroup* mMethodInstanceGroup;
BfMethodDef* mMethodDef;
BfType* mReturnType;
@ -781,6 +782,7 @@ public:
mDisallowCalling = false;
mIsGenericMethodInstance = false;
mChainType = BfMethodChainType_None;
mCallingConvention = BfCallingConvention_Unspecified;
mMethodInstanceGroup = NULL;
mMethodDef = NULL;
mReturnType = NULL;
@ -817,8 +819,10 @@ public:
bool AlwaysInline();
BfImportCallKind GetImportCallKind();
bool IsTestMethod();
bool AllowsSplatting();
bool AllowsThisSplatting();
int GetParamCount();
int GetImplicitParamCount();
int GetImplicitParamCount();
void GetParamName(int paramIdx, StringImpl& name);
String GetParamName(int paramIdx);
BfType* GetParamType(int paramIdx, bool useResolvedType = true);