Mercurial > projects > ddmd
comparison dmd/TypeInfoInterfaceDeclaration.d @ 130:60bb0fe4563e
dmdfe 2.037 first main iteration
author | Eldar Insafutdinov <e.insafutdinov@gmail.com> |
---|---|
date | Thu, 09 Sep 2010 22:51:44 +0100 |
parents | e28b18c23469 |
children | 206db751bd4c |
comparison
equal
deleted
inserted
replaced
129:010eb8f0e18d | 130:60bb0fe4563e |
---|---|
30 | 30 |
31 TypeClass tc = cast(TypeClass)tinfo; | 31 TypeClass tc = cast(TypeClass)tinfo; |
32 Symbol *s; | 32 Symbol *s; |
33 | 33 |
34 if (!tc.sym.vclassinfo) | 34 if (!tc.sym.vclassinfo) |
35 tc.sym.vclassinfo = new ClassInfoDeclaration(tc.sym); | 35 tc.sym.vclassinfo = new TypeInfoClassDeclaration(tc.sym); |
36 s = tc.sym.vclassinfo.toSymbol(); | 36 s = tc.sym.vclassinfo.toSymbol(); |
37 dtxoff(pdt, s, 0, TYnptr); // ClassInfo for tinfo | 37 dtxoff(pdt, s, 0, TYnptr); // ClassInfo for tinfo |
38 } | 38 } |
39 } | 39 } |
40 | 40 |