comparison dmd/ArrayExp.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 e28b18c23469
children aa70dca07cb0
comparison
equal deleted inserted replaced
177:1475fd394c9e 178:e3afd1303184
24 { 24 {
25 Expressions arguments; 25 Expressions arguments;
26 26
27 this(Loc loc, Expression e1, Expressions args) 27 this(Loc loc, Expression e1, Expressions args)
28 { 28 {
29 register();
29 super(loc, TOK.TOKarray, ArrayExp.sizeof, e1); 30 super(loc, TOK.TOKarray, ArrayExp.sizeof, e1);
30 arguments = args; 31 arguments = args;
31 } 32 }
32 33
33 override Expression syntaxCopy() 34 override Expression syntaxCopy()