comparison dmd/StaticCtorDeclaration.d @ 178:e3afd1303184

Many small bugs fixed Made all classes derive from TObject to detect memory leaks (functionality is disabled for now) Began work on overriding backend memory allocations (to avoid memory leaks)
author korDen
date Sun, 17 Oct 2010 07:42:00 +0400
parents c77e9f4f1793
children cd48cb899aee
comparison
equal deleted inserted replaced
177:1475fd394c9e 178:e3afd1303184
31 31
32 class StaticCtorDeclaration : FuncDeclaration 32 class StaticCtorDeclaration : FuncDeclaration
33 { 33 {
34 this(Loc loc, Loc endloc) 34 this(Loc loc, Loc endloc)
35 { 35 {
36 register();
36 super(loc, endloc, Identifier.generateId("_staticCtor"), STCstatic, null); 37 super(loc, endloc, Identifier.generateId("_staticCtor"), STCstatic, null);
37 } 38 }
38 39
39 override Dsymbol syntaxCopy(Dsymbol s) 40 override Dsymbol syntaxCopy(Dsymbol s)
40 { 41 {