comparison dmd/PowExp.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 96c0fff6897d
children cd48cb899aee
comparison
equal deleted inserted replaced
177:1475fd394c9e 178:e3afd1303184
30 30
31 class PowExp : BinExp 31 class PowExp : BinExp
32 { 32 {
33 this(Loc loc, Expression e1, Expression e2) 33 this(Loc loc, Expression e1, Expression e2)
34 { 34 {
35 register();
35 super(loc, TOK.TOKpow, PowExp.sizeof, e1, e2); 36 super(loc, TOK.TOKpow, PowExp.sizeof, e1, e2);
36 } 37 }
37 38
38 override Expression semantic(Scope sc) 39 override Expression semantic(Scope sc)
39 { 40 {