[svn r320] Begun work on branches out of asm blocks. Unfinished.

This commit is contained in:
Christian Kamm
2008-06-24 21:38:23 +02:00
parent f621a5a77b
commit 84dd282b8c
5 changed files with 68 additions and 4 deletions

View File

@@ -1066,10 +1066,11 @@ void LabelStatement::toIR(IRState* p)
if (p->asmBlock)
{
IRAsmStmt* a = new IRAsmStmt;
a->code = ".LDASM_";
// a->code = ".LDASM_";
a->code += ident->toChars();
a->code += ":";
p->asmBlock->s.push_back(a);
p->asmBlock->internalLabels.push_back(ident);
}
else
{