File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -5361,21 +5361,13 @@ llvm::FunctionType *FunctionPointer::getFunctionType() const {
5361
5361
if (useSignature) { // Because of various casting (e.g thin_to_thick) the
5362
5362
// signature of the function Value might mismatch
5363
5363
// (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
- }
5369
5364
assert (llvm::cast<llvm::PointerType>(Value->getType ())
5370
5365
->isOpaqueOrPointeeTypeMatches (Sig.getType ()));
5371
5366
return Sig.getType ();
5372
5367
}
5373
5368
5374
5369
assert (llvm::cast<llvm::PointerType>(Value->getType ())
5375
5370
->isOpaqueOrPointeeTypeMatches (gv->getValueType ()));
5376
- if (!isa<llvm::FunctionType>(gv->getValueType ())) {
5377
- gv->getValueType ()->dump ();
5378
- }
5379
5371
return cast<llvm::FunctionType>(gv->getValueType ());
5380
5372
}
5381
5373
You can’t perform that action at this time.
0 commit comments