| 901 | } |
| 902 | |
| 903 | bool BfMethodInstance::ForcingThisPtr() |
| 904 | { |
| 905 | if (mMethodDef->mHasExplicitThis) |
| 906 | { |
| 907 | auto thisType = mParams[0].mResolvedType; |
| 908 | if (thisType->IsCRepr()) |
| 909 | return true; |
| 910 | } |
| 911 | else if (mMethodInstanceGroup->mOwner->IsCRepr()) |
| 912 | return true; |
| 913 | |
| 914 | return (mCallingConvention == BfCallingConvention_Cdecl); |
| 915 | } |
| 916 | |
| 917 | bool Beefy::BfMethodInstance::IsSpecializedGenericMethod() |
| 918 | { |
no test coverage detected