diff --git a/clang/lib/AST/ByteCode/Pointer.cpp b/clang/lib/AST/ByteCode/Pointer.cpp index 50453c72c582b..f0b0384f32ac8 100644 --- a/clang/lib/AST/ByteCode/Pointer.cpp +++ b/clang/lib/AST/ByteCode/Pointer.cpp @@ -114,7 +114,6 @@ void Pointer::operator=(Pointer &&P) { } if (Block *Pointee = PointeeStorage.BS.Pointee) { - assert(P.block() != this->block()); Pointee->removePointer(this); PointeeStorage.BS.Pointee = nullptr; Pointee->cleanup();