mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-02 08:01:11 +03:00
Use llvm_unreachable instead of assert(0).
Also removed some unused functions.
This commit is contained in:
parent
28a65ff689
commit
8ff3a8060a
18 changed files with 68 additions and 166 deletions
|
@ -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());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue