It appears that this mangling type is currently unused. Make it
compatible with opaque pointers in case it becomes used again...
Type * ReferenceType = ArgTys[D.getArgumentNumber()];
PointerType *ThisArgType = dyn_cast<PointerType>(Ty);
return (!ThisArgType ||
- ThisArgType->getPointerElementType() != ReferenceType);
+ !ThisArgType->isOpaqueOrPointeeTypeMatches(ReferenceType));
}
case IITDescriptor::PtrToElt: {
if (D.getArgumentNumber() >= ArgTys.size())