| 8476 | } |
| 8477 | |
| 8478 | BfRefType* BfModule::CreateRefType(BfType* resolvedTypeRef, BfRefType::RefKind refKind) |
| 8479 | { |
| 8480 | auto refType = mContext->mRefTypePool.Get(); |
| 8481 | refType->mContext = mContext; |
| 8482 | refType->mElementType = resolvedTypeRef; |
| 8483 | refType->mRefKind = refKind; |
| 8484 | auto resolvedRefType = ResolveType(refType); |
| 8485 | if (resolvedRefType != refType) |
| 8486 | mContext->mRefTypePool.GiveBack(refType); |
| 8487 | return (BfRefType*)resolvedRefType; |
| 8488 | } |
| 8489 | |
| 8490 | BfModifiedTypeType* BfModule::CreateModifiedTypeType(BfType* resolvedTypeRef, BfToken modifiedKind) |
| 8491 | { |
no test coverage detected