Mercurial > projects > ldc
comparison gen/irstate.h @ 302:bef811104734 trunk
[svn r323] Branching out of inline asm works.
Renamed emit_finallyblocks to DtoFinallyBlocks and moved to llvmhelpers.
Added enclosingtryfinally to AsmBlockStatement, so branches out of asm blocks respect finallys.
Refactored some GotoStatement code into DtoGoto.
author | ChristianK |
---|---|
date | Wed, 25 Jun 2008 20:39:09 +0200 |
parents | df8a7b8d5929 |
children | 2b72433d5c8c |
comparison
equal
deleted
inserted
replaced
301:f42a1090e895 | 302:bef811104734 |
---|---|
71 std::string out_c; | 71 std::string out_c; |
72 std::string in_c; | 72 std::string in_c; |
73 std::vector<LLValue*> out; | 73 std::vector<LLValue*> out; |
74 std::vector<LLValue*> in; | 74 std::vector<LLValue*> in; |
75 | 75 |
76 // if this is nonzero, it contains the target ident | 76 // if this is nonzero, it contains the target label |
77 Identifier* isBranchToLabel; | 77 LabelDsymbol* isBranchToLabel; |
78 }; | 78 }; |
79 | 79 |
80 struct IRAsmBlock | 80 struct IRAsmBlock |
81 { | 81 { |
82 std::vector<IRAsmStmt*> s; | 82 std::vector<IRAsmStmt*> s; |