Mercurial > projects > ddmd
comparison dmd/AsmStatement.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 | fa9a71a9f5a8 |
children | b0d41ff5e0df |
comparison
equal
deleted
inserted
replaced
177:1475fd394c9e | 178:e3afd1303184 |
---|---|
47 bool naked; // true if function is to be naked | 47 bool naked; // true if function is to be naked |
48 uint regs; // mask of registers modified | 48 uint regs; // mask of registers modified |
49 | 49 |
50 this(Loc loc, Token* tokens) | 50 this(Loc loc, Token* tokens) |
51 { | 51 { |
52 register(); | |
53 | |
52 super(loc); | 54 super(loc); |
53 this.tokens = tokens; | 55 this.tokens = tokens; |
54 } | 56 } |
55 | 57 |
56 override Statement syntaxCopy() | 58 override Statement syntaxCopy() |