mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-12 02:43:14 +01:00
Removed invalid assertion.
This commit is contained in:
@@ -456,9 +456,6 @@ void DtoDeclareFunction(FuncDeclaration* fdecl)
|
||||
Type* t = fdecl->type->toBasetype();
|
||||
TypeFunction* f = (TypeFunction*)t;
|
||||
|
||||
// sanity check
|
||||
assert(fdecl == f->funcdecl && "the function type does not point to this function");
|
||||
|
||||
bool declareOnly = !mustDefineSymbol(fdecl);
|
||||
|
||||
if (fdecl->llvmInternal == LLVMva_start)
|
||||
|
||||
Reference in New Issue
Block a user