Mercurial > projects > ddmd
diff dmd/ClassInfoDeclaration.d @ 166:d8565fbd755c
Moved object and classinfo from ClassDeclaration to Global (as part of getting rid of the global state)
author | korDen |
---|---|
date | Thu, 30 Sep 2010 10:30:15 +0400 |
parents | e28b18c23469 |
children | e3afd1303184 |
line wrap: on
line diff
--- a/dmd/ClassInfoDeclaration.d Thu Sep 30 10:04:32 2010 +0400 +++ b/dmd/ClassInfoDeclaration.d Thu Sep 30 10:30:15 2010 +0400 @@ -3,6 +3,7 @@ import dmd.common; import dmd.VarDeclaration; import dmd.ClassDeclaration; +import dmd.Global; import dmd.Dsymbol; import dmd.Scope; import dmd.Loc; @@ -24,7 +25,7 @@ this(ClassDeclaration cd) { - super(Loc(0), ClassDeclaration.classinfo.type, cd.ident, null); + super(Loc(0), global.classinfo.type, cd.ident, null); this.cd = cd; storage_class = STC.STCstatic | STC.STCgshared;