mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-03 00:20:40 +03:00
Removed invalid assertion.
This commit is contained in:
parent
9a86f9c0b5
commit
02466de996
1 changed files with 0 additions and 3 deletions
|
@ -456,9 +456,6 @@ void DtoDeclareFunction(FuncDeclaration* fdecl)
|
||||||
Type* t = fdecl->type->toBasetype();
|
Type* t = fdecl->type->toBasetype();
|
||||||
TypeFunction* f = (TypeFunction*)t;
|
TypeFunction* f = (TypeFunction*)t;
|
||||||
|
|
||||||
// sanity check
|
|
||||||
assert(fdecl == f->funcdecl && "the function type does not point to this function");
|
|
||||||
|
|
||||||
bool declareOnly = !mustDefineSymbol(fdecl);
|
bool declareOnly = !mustDefineSymbol(fdecl);
|
||||||
|
|
||||||
if (fdecl->llvmInternal == LLVMva_start)
|
if (fdecl->llvmInternal == LLVMva_start)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue