Mercurial > projects > ldc
comparison 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 |
comparison
equal
deleted
inserted
replaced
233:76ee1bbe487e | 234:9760f54af0b7 |
---|---|
127 // generate ModuleInfo | 127 // generate ModuleInfo |
128 genmoduleinfo(); | 128 genmoduleinfo(); |
129 // do this again as moduleinfo might have pulled something in! | 129 // do this again as moduleinfo might have pulled something in! |
130 DtoEmptyAllLists(); | 130 DtoEmptyAllLists(); |
131 | 131 |
132 // emit the llvm main function if necessary | |
133 if (ir.emitMain) { | |
134 //DtoMain(); | |
135 } | |
136 | |
137 // verify the llvm | 132 // verify the llvm |
138 if (!global.params.novalidate) { | 133 if (!global.params.novalidate) { |
139 std::string verifyErr; | 134 std::string verifyErr; |
140 Logger::println("Verifying module..."); | 135 Logger::println("Verifying module..."); |
141 LOG_SCOPE; | 136 LOG_SCOPE; |