diff --git a/gen/tollvm.cpp b/gen/tollvm.cpp index 93628885..3917478a 100644 --- a/gen/tollvm.cpp +++ b/gen/tollvm.cpp @@ -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);