Mercurial > projects > ldc
diff gen/irstate.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 | e3355ce5444b |
children | bef811104734 |
line wrap: on
line diff
--- a/gen/irstate.h Tue Jun 24 17:24:55 2008 +0200 +++ b/gen/irstate.h Tue Jun 24 21:38:23 2008 +0200 @@ -72,12 +72,18 @@ std::string in_c; std::vector<LLValue*> out; std::vector<LLValue*> in; + + // if this is nonzero, it contains the target ident + Identifier* isBranchToLabel; }; struct IRAsmBlock { std::vector<IRAsmStmt*> s; std::set<std::string> clobs; + + // stores the labels within the asm block + std::vector<Identifier*> internalLabels; }; // represents the module