| 1356 | //========================================================================== |
| 1357 | |
| 1358 | ZCC_ExprTypeRef *ZCCCompiler::NodeFromSymbolType(PSymbolType *sym, ZCC_Expression *idnode) |
| 1359 | { |
| 1360 | ZCC_ExprTypeRef *ref = static_cast<ZCC_ExprTypeRef *>(AST.InitNode(sizeof(*ref), AST_ExprTypeRef, idnode)); |
| 1361 | ref->Operation = PEX_TypeRef; |
| 1362 | ref->RefType = sym->Type; |
| 1363 | ref->Type = NewClassPointer(RUNTIME_CLASS(DObject)); |
| 1364 | return ref; |
| 1365 | } |
| 1366 | |
| 1367 | //========================================================================== |
| 1368 | // |
nothing calls this directly
no test coverage detected