Mercurial > projects > ldc
diff gen/d-asm-i386.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 | 3ebc136702dd |
line wrap: on
line diff
--- a/gen/d-asm-i386.h Tue Jun 24 22:48:33 2008 +0200 +++ b/gen/d-asm-i386.h Wed Jun 25 20:39:09 2008 +0200 @@ -1915,7 +1915,7 @@ if (! lbl->asmLabelNum) lbl->asmLabelNum = ++d_priv_asm_label_serial; - stmt->isBranchToLabel = lbl->ident; + stmt->isBranchToLabel = lbl; use_star = false; addLabel(lbl->ident->toChars());