comparison dmd/SynchronizedStatement.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 b0d41ff5e0df
comparison
equal deleted inserted replaced
177:1475fd394c9e 178:e3afd1303184
42 Expression exp; 42 Expression exp;
43 Statement body_; 43 Statement body_;
44 44
45 this(Loc loc, Expression exp, Statement body_) 45 this(Loc loc, Expression exp, Statement body_)
46 { 46 {
47 register();
47 super(loc); 48 super(loc);
48 49
49 this.exp = exp; 50 this.exp = exp;
50 this.body_ = body_; 51 this.body_ = body_;
51 this.esync = null; 52 this.esync = null;
181 // Back end 182 // Back end
182 elem* esync; 183 elem* esync;
183 184
184 this(Loc loc, elem *esync, Statement body_) 185 this(Loc loc, elem *esync, Statement body_)
185 { 186 {
187 register();
186 assert(false); 188 assert(false);
187 super(loc); 189 super(loc);
188 } 190 }
189 191
190 override void toIR(IRState* irs) 192 override void toIR(IRState* irs)