Mercurial > projects > ldc
diff dmd2/statement.h @ 922:0749c0757a43
Apply naked changes of [920] to dmd2/
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Tue, 03 Feb 2009 18:11:39 +0100 |
parents | 356e65836fb5 |
children | 03d7c4aac654 |
line wrap: on
line diff
--- a/dmd2/statement.h Tue Feb 03 18:00:17 2009 +0100 +++ b/dmd2/statement.h Tue Feb 03 18:11:39 2009 +0100 @@ -162,6 +162,9 @@ // Back end virtual void toIR(IRState *irs); + // LDC + virtual void toNakedIR(IRState *irs); + // Avoid dynamic_cast virtual DeclarationStatement *isDeclarationStatement() { return NULL; } virtual CompoundStatement *isCompoundStatement() { return NULL; } @@ -187,6 +190,9 @@ Statement *inlineScan(InlineScanState *iss); void toIR(IRState *irs); + + // LDC + virtual void toNakedIR(IRState *irs); }; struct CompileStatement : Statement @@ -237,6 +243,9 @@ virtual void toIR(IRState *irs); + // LDC + virtual void toNakedIR(IRState *irs); + virtual CompoundStatement *isCompoundStatement() { return this; } }; @@ -879,6 +888,7 @@ // LDC bool asmLabel; // for labels inside inline assembler + virtual void toNakedIR(IRState *irs); }; struct LabelDsymbol : Dsymbol @@ -912,6 +922,8 @@ // LDC // non-zero if this is a branch, contains the target labels identifier Identifier* isBranchToLabel; + + virtual void toNakedIR(IRState *irs); }; struct AsmBlockStatement : CompoundStatement @@ -928,6 +940,7 @@ AsmBlockStatement *isAsmBlockStatement() { return this; } void toIR(IRState *irs); + virtual void toNakedIR(IRState *irs); }; #endif /* DMD_STATEMENT_H */