Skip to content

Commit 7e96f3e

Browse files
committed
IRGen: Remove dump() calls in Address.h
1 parent 0851f5c commit 7e96f3e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/IRGen/Address.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,6 @@ class Address {
3939

4040
Address(llvm::Value *addr, llvm::Type *elementType, Alignment align)
4141
: Addr(addr), ElementType(elementType), Align(align) {
42-
if (!llvm::cast<llvm::PointerType>(addr->getType())
43-
->isOpaqueOrPointeeTypeMatches(elementType)) {
44-
addr->getType()->dump();
45-
elementType->dump();
46-
}
4742
assert(llvm::cast<llvm::PointerType>(addr->getType())
4843
->isOpaqueOrPointeeTypeMatches(elementType) &&
4944
"Incorrect pointer element type");

0 commit comments

Comments
 (0)