Mercurial > projects > ldc
diff gen/statements.cpp @ 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 | 3b8ada4c9f8b |
children | bef811104734 |
line wrap: on
line diff
--- a/gen/statements.cpp Tue Jun 24 17:24:55 2008 +0200 +++ b/gen/statements.cpp Tue Jun 24 21:38:23 2008 +0200 @@ -1066,10 +1066,11 @@ 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 {