mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-03-01 18:13:18 +01:00
Use llvm_unreachable instead of assert(0).
Also removed some unused functions.
This commit is contained in:
@@ -787,7 +787,7 @@ void TypeInfoClassDeclaration::codegen(Ir*i)
|
||||
void TypeInfoClassDeclaration::llvmDefine()
|
||||
{
|
||||
#if DMDV2
|
||||
assert(0);
|
||||
llvm_unreachable("TypeInfoClassDeclaration should not be called for D2");
|
||||
#endif
|
||||
Logger::println("TypeInfoClassDeclaration::llvmDefine() %s", toChars());
|
||||
LOG_SCOPE;
|
||||
|
||||
Reference in New Issue
Block a user