Mercurial > projects > ddmd
comparison dmd/StaticDtorDeclaration.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 |
---|---|
34 { | 34 { |
35 VarDeclaration vgate; // 'gate' variable | 35 VarDeclaration vgate; // 'gate' variable |
36 | 36 |
37 this(Loc loc, Loc endloc) | 37 this(Loc loc, Loc endloc) |
38 { | 38 { |
39 register(); | |
39 super(loc, endloc, Identifier.generateId("_staticDtor"), STCstatic, null); | 40 super(loc, endloc, Identifier.generateId("_staticDtor"), STCstatic, null); |
40 } | 41 } |
41 | 42 |
42 override Dsymbol syntaxCopy(Dsymbol s) | 43 override Dsymbol syntaxCopy(Dsymbol s) |
43 { | 44 { |