| 1268 | } |
| 1269 | |
| 1270 | void GetTypeId(const char* pos) |
| 1271 | { |
| 1272 | if(!currType) |
| 1273 | ThrowError(pos, "ERROR: cannot take typeid from auto type"); |
| 1274 | CodeInfo::nodeList.push_back(new NodeZeroOP(CodeInfo::GetReferenceType(currType))); |
| 1275 | CodeInfo::nodeList.push_back(new NodeConvertPtr(typeObject)); |
| 1276 | CodeInfo::nodeList.back()->typeInfo = typeTypeid; |
| 1277 | } |
| 1278 | |
| 1279 | void SetTypeOfLastNode() |
| 1280 | { |
no test coverage detected