Mercurial > projects > ddmd
comparison dmd/AsmStatement.d @ 72:2e2a5c3f943a
reduced warnings by adding override to the methods
think this also normalizes different line endings used all over the place
author | Trass3r |
---|---|
date | Sat, 28 Aug 2010 16:19:48 +0200 |
parents | 05f02c19bd81 |
children | e28b18c23469 |
comparison
equal
deleted
inserted
replaced
71:8e24ef1dd139 | 72:2e2a5c3f943a |
---|---|
48 { | 48 { |
49 super(loc); | 49 super(loc); |
50 this.tokens = tokens; | 50 this.tokens = tokens; |
51 } | 51 } |
52 | 52 |
53 Statement syntaxCopy() | 53 override Statement syntaxCopy() |
54 { | 54 { |
55 assert(false); | 55 assert(false); |
56 } | 56 } |
57 | 57 |
58 Statement semantic(Scope sc) | 58 override Statement semantic(Scope sc) |
59 { | 59 { |
60 //printf("AsmStatement.semantic()\n"); | 60 //printf("AsmStatement.semantic()\n"); |
61 | 61 |
62 if (global.params.safe && !sc.module_.safe) | 62 if (global.params.safe && !sc.module_.safe) |
63 { | 63 { |
257 | 257 |
258 //return asmstate.bReturnax; | 258 //return asmstate.bReturnax; |
259 return this; | 259 return this; |
260 } | 260 } |
261 | 261 |
262 BE blockExit() | 262 override BE blockExit() |
263 { | 263 { |
264 assert(false); | 264 assert(false); |
265 } | 265 } |
266 | 266 |
267 bool comeFrom() | 267 override bool comeFrom() |
268 { | 268 { |
269 assert(false); | 269 assert(false); |
270 } | 270 } |
271 | 271 |
272 void toCBuffer(OutBuffer buf, HdrGenState* hgs) | 272 override void toCBuffer(OutBuffer buf, HdrGenState* hgs) |
273 { | 273 { |
274 assert(false); | 274 assert(false); |
275 } | 275 } |
276 | 276 |
277 AsmStatement isAsmStatement() { return this; } | 277 override AsmStatement isAsmStatement() { return this; } |
278 | 278 |
279 void toIR(IRState *irs) | 279 override void toIR(IRState *irs) |
280 { | 280 { |
281 block* bpre; | 281 block* bpre; |
282 block* basm; | 282 block* basm; |
283 Declaration d; | 283 Declaration d; |
284 Symbol* s; | 284 Symbol* s; |