comparison gen/statements.cpp @ 234:9760f54af0b7 trunk

[svn r250] Fixed the warning about dropping arguments to _Dmain when optimizing. Did a few cleanups in inline asm code.
author lindquist
date Sun, 08 Jun 2008 08:03:19 +0200
parents 76ee1bbe487e
children a95056b3c996
comparison
equal deleted inserted replaced
233:76ee1bbe487e 234:9760f54af0b7
994 994
995 // if it's an inline asm label, we don't create a basicblock, just emit it in the asm 995 // if it's an inline asm label, we don't create a basicblock, just emit it in the asm
996 if (p->asmBlock) 996 if (p->asmBlock)
997 { 997 {
998 IRAsmStmt* a = new IRAsmStmt; 998 IRAsmStmt* a = new IRAsmStmt;
999 a->code = ".LDASM"; 999 a->code = ".LDASM_";
1000 a->code += ident->toChars(); 1000 a->code += ident->toChars();
1001 a->code += ":"; 1001 a->code += ":";
1002 p->asmBlock->s.push_back(a); 1002 p->asmBlock->s.push_back(a);
1003 return; 1003 return;
1004 } 1004 }