Mercurial > projects > ldc
comparison dmd/statement.h @ 299:df8a7b8d5929 trunk
[svn r320] Begun work on branches out of asm blocks. Unfinished.
author | ChristianK |
---|---|
date | Tue, 24 Jun 2008 21:38:23 +0200 |
parents | 88252a1af660 |
children | bef811104734 |
comparison
equal
deleted
inserted
replaced
298:3b8ada4c9f8b | 299:df8a7b8d5929 |
---|---|
789 | 789 |
790 void toCBuffer(OutBuffer *buf, HdrGenState *hgs); | 790 void toCBuffer(OutBuffer *buf, HdrGenState *hgs); |
791 virtual AsmStatement *isAsmStatement() { return this; } | 791 virtual AsmStatement *isAsmStatement() { return this; } |
792 | 792 |
793 void toIR(IRState *irs); | 793 void toIR(IRState *irs); |
794 | |
795 // LLVMDC | |
796 // non-zero if this is a branch, contains the target | |
797 Identifier* isBranchToLabel; | |
794 }; | 798 }; |
795 | 799 |
796 struct AsmBlockStatement : CompoundStatement | 800 struct AsmBlockStatement : CompoundStatement |
797 { | 801 { |
798 AsmBlockStatement(Loc loc, Statements *s); | 802 AsmBlockStatement(Loc loc, Statements *s); |