Skip to content

Commit 2c09f54

Browse files
committed
Remove stray dump() calls
1 parent c84f3e1 commit 2c09f54

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

lib/IRGen/GenCall.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5361,21 +5361,13 @@ llvm::FunctionType *FunctionPointer::getFunctionType() const {
53615361
if (useSignature) { // Because of various casting (e.g thin_to_thick) the
53625362
// signature of the function Value might mismatch
53635363
// (e.g no context argument).
5364-
if (!llvm::cast<llvm::PointerType>(Value->getType())
5365-
->isOpaqueOrPointeeTypeMatches(Sig.getType())) {
5366-
Value->getType()->dump();
5367-
Sig.getType()->dump();
5368-
}
53695364
assert(llvm::cast<llvm::PointerType>(Value->getType())
53705365
->isOpaqueOrPointeeTypeMatches(Sig.getType()));
53715366
return Sig.getType();
53725367
}
53735368

53745369
assert(llvm::cast<llvm::PointerType>(Value->getType())
53755370
->isOpaqueOrPointeeTypeMatches(gv->getValueType()));
5376-
if (!isa<llvm::FunctionType>(gv->getValueType())) {
5377-
gv->getValueType()->dump();
5378-
}
53795371
return cast<llvm::FunctionType>(gv->getValueType());
53805372
}
53815373

0 commit comments

Comments
 (0)