| 1154 | } |
| 1155 | |
| 1156 | void SelectTypeForGeneric(unsigned nodeIndex) |
| 1157 | { |
| 1158 | if(CodeInfo::nodeList[nodeIndex]->nodeType == typeNodeFuncDef) |
| 1159 | currType = ((NodeFuncDef*)CodeInfo::nodeList[nodeIndex])->GetFuncInfo()->funcType; |
| 1160 | else if(CodeInfo::nodeList[nodeIndex]->typeInfo->arrLevel && CodeInfo::nodeList[nodeIndex]->typeInfo->arrSize != TypeInfo::UNSIZED_ARRAY && CodeInfo::nodeList[nodeIndex]->nodeType != typeNodeZeroOp) |
| 1161 | currType = CodeInfo::GetArrayType(CodeInfo::nodeList[nodeIndex]->typeInfo->subType, TypeInfo::UNSIZED_ARRAY); |
| 1162 | else |
| 1163 | currType = CodeInfo::nodeList[nodeIndex]->typeInfo; |
| 1164 | } |
| 1165 | |
| 1166 | void SelectTypeByIndex(unsigned int index) |
| 1167 | { |
no test coverage detected