Mercurial > projects > ldc
comparison dmd/statement.h @ 37:77cdca8c210f trunk
[svn r41] new'd dynamic arrays are now initialized with the element type's default initializer.
initial label/goto support.
author | lindquist |
---|---|
date | Wed, 10 Oct 2007 03:38:24 +0200 |
parents | c53b6e3fe49a |
children | fd32135dca3e |
comparison
equal
deleted
inserted
replaced
36:c0967c4b2a74 | 37:77cdca8c210f |
---|---|
50 enum TOK; | 50 enum TOK; |
51 | 51 |
52 namespace llvm | 52 namespace llvm |
53 { | 53 { |
54 class Value; | 54 class Value; |
55 class BasicBlock; | |
55 } | 56 } |
56 | 57 |
57 // Back end | 58 // Back end |
58 struct IRState; | 59 struct IRState; |
59 struct Blockx; | 60 struct Blockx; |
713 void toCBuffer(OutBuffer *buf, HdrGenState *hgs); | 714 void toCBuffer(OutBuffer *buf, HdrGenState *hgs); |
714 | 715 |
715 Statement *inlineScan(InlineScanState *iss); | 716 Statement *inlineScan(InlineScanState *iss); |
716 | 717 |
717 void toIR(IRState *irs); | 718 void toIR(IRState *irs); |
719 | |
720 llvm::BasicBlock* llvmBB; | |
718 }; | 721 }; |
719 | 722 |
720 struct LabelDsymbol : Dsymbol | 723 struct LabelDsymbol : Dsymbol |
721 { | 724 { |
722 LabelStatement *statement; | 725 LabelStatement *statement; |