comparison 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
comparison
equal deleted inserted replaced
298:3b8ada4c9f8b 299:df8a7b8d5929
1064 1064
1065 // if it's an inline asm label, we don't create a basicblock, just emit it in the asm 1065 // if it's an inline asm label, we don't create a basicblock, just emit it in the asm
1066 if (p->asmBlock) 1066 if (p->asmBlock)
1067 { 1067 {
1068 IRAsmStmt* a = new IRAsmStmt; 1068 IRAsmStmt* a = new IRAsmStmt;
1069 a->code = ".LDASM_"; 1069 // a->code = ".LDASM_";
1070 a->code += ident->toChars(); 1070 a->code += ident->toChars();
1071 a->code += ":"; 1071 a->code += ":";
1072 p->asmBlock->s.push_back(a); 1072 p->asmBlock->s.push_back(a);
1073 p->asmBlock->internalLabels.push_back(ident);
1073 } 1074 }
1074 else 1075 else
1075 { 1076 {
1076 1077
1077 assert(tf == NULL); 1078 assert(tf == NULL);