Mercurial > projects > ldc
diff gen/toobj.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 | 0806379a5eca |
children | a95056b3c996 |
line wrap: on
line diff
--- a/gen/toobj.cpp Sun Jun 08 06:45:54 2008 +0200 +++ b/gen/toobj.cpp Sun Jun 08 08:03:19 2008 +0200 @@ -129,11 +129,6 @@ // do this again as moduleinfo might have pulled something in! DtoEmptyAllLists(); - // emit the llvm main function if necessary - if (ir.emitMain) { - //DtoMain(); - } - // verify the llvm if (!global.params.novalidate) { std::string verifyErr;