Remove bogous DtoMemCpy assertion.

DtoMemCpy is called with identical pointer arguments in
some legal cases.
This commit is contained in:
David Nadlinger
2013-06-07 02:07:34 +02:00
parent 23e21bedbb
commit a8ae435c69

View File

@@ -545,8 +545,6 @@ void DtoMemSetZero(LLValue* dst, LLValue* nbytes)
void DtoMemCpy(LLValue* dst, LLValue* src, LLValue* nbytes, unsigned align)
{
assert (src != dst && "src and dst of memcpy must be different");
LLType* VoidPtrTy = getVoidPtrType();
dst = DtoBitCast(dst, VoidPtrTy);