mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
Use llvm_unreachable instead of assert(0).
Also removed some unused functions.
This commit is contained in:
@@ -658,14 +658,6 @@ void Module::genmoduleinfo()
|
||||
|
||||
#endif
|
||||
|
||||
/*Logger::println("MODULE INFO INITIALIZERS");
|
||||
for (size_t i=0; i<initVec.size(); ++i)
|
||||
{
|
||||
Logger::cout() << *initVec[i] << '\n';
|
||||
if (initVec[i]->getType() != moduleinfoTy->getElementType(i))
|
||||
assert(0);
|
||||
}*/
|
||||
|
||||
// create and set initializer
|
||||
b.finalize(moduleInfoType, moduleInfoSymbol());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user