| 1033 | } |
| 1034 | |
| 1035 | bool BfMethodInstance::WantsStructsAttribByVal(BfType* paramType) |
| 1036 | { |
| 1037 | auto owner = GetOwner(); |
| 1038 | if ((owner->mModule->mCompiler->mOptions.mPlatformType == BfPlatformType_Windows) && |
| 1039 | (owner->mModule->mCompiler->mOptions.mMachineType == BfMachineType_x64)) |
| 1040 | return false; |
| 1041 | if (owner->mModule->mCompiler->mOptions.mMachineType == BfMachineType_AArch64) |
| 1042 | return false; |
| 1043 | auto typeInst = paramType->ToTypeInstance(); |
| 1044 | return (typeInst != NULL) && (typeInst->mIsCRepr); |
| 1045 | } |
| 1046 | |
| 1047 | bool BfMethodInstance::IsSkipCall(bool bypassVirtual) |
| 1048 | { |
no test coverage detected