forked from OSchip/llvm-project
parent
8e4a1690bf
commit
bba2f473d4
|
@ -166,7 +166,6 @@ bool TypeMapTy::areTypesIsomorphic(Type *DstTy, Type *SrcTy) {
|
|||
if (PointerType *PT = dyn_cast<PointerType>(DstTy)) {
|
||||
if (PT->getAddressSpace() != cast<PointerType>(SrcTy)->getAddressSpace())
|
||||
return false;
|
||||
|
||||
} else if (FunctionType *FT = dyn_cast<FunctionType>(DstTy)) {
|
||||
if (FT->isVarArg() != cast<FunctionType>(SrcTy)->isVarArg())
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue