comparison dmd/FuncDeclaration.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 1475fd394c9e
children cd48cb899aee
comparison
equal deleted inserted replaced
177:1475fd394c9e 178:e3afd1303184
195 int nestedFrameRef; // !=0 if nested variables referenced 195 int nestedFrameRef; // !=0 if nested variables referenced
196 } 196 }
197 197
198 this(Loc loc, Loc endloc, Identifier id, StorageClass storage_class, Type type) 198 this(Loc loc, Loc endloc, Identifier id, StorageClass storage_class, Type type)
199 { 199 {
200 register();
200 super(id); 201 super(id);
201 202
202 //printf("FuncDeclaration(id = '%s', type = %p)\n", id.toChars(), type); 203 //printf("FuncDeclaration(id = '%s', type = %p)\n", id.toChars(), type);
203 //printf("storage_class = x%x\n", storage_class); 204 //printf("storage_class = x%x\n", storage_class);
204 this.storage_class = storage_class; 205 this.storage_class = storage_class;