| 8132 | } |
| 8133 | |
| 8134 | BfType* BfModule::FixIntUnknown(BfType* type) |
| 8135 | { |
| 8136 | if ((type != NULL) && (type->IsPrimitiveType())) |
| 8137 | { |
| 8138 | auto primType = (BfPrimitiveType*)type; |
| 8139 | if (primType->mTypeDef->mTypeCode == BfTypeCode_IntUnknown) |
| 8140 | return GetPrimitiveType(BfTypeCode_IntPtr); |
| 8141 | if (primType->mTypeDef->mTypeCode == BfTypeCode_UIntUnknown) |
| 8142 | return GetPrimitiveType(BfTypeCode_UIntPtr); |
| 8143 | } |
| 8144 | return type; |
| 8145 | } |
| 8146 | |
| 8147 | void BfModule::FixIntUnknown(BfTypedValue& typedVal, BfType* matchType) |
| 8148 | { |
no test coverage detected