Don't print out unique identifier for opaque types

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6511 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-06-01 03:45:51 +00:00
parent 20772547c5
commit 26c6915539

View File

@ -504,7 +504,7 @@ std::ostream &AssemblyWriter::printTypeAtLeastOneLevel(const Type *Ty) {
Out << "[" << ATy->getNumElements() << " x ";
printType(ATy->getElementType()) << "]";
} else if (const OpaqueType *OTy = dyn_cast<OpaqueType>(Ty)) {
Out << OTy->getDescription();
Out << "opaque";
} else {
if (!Ty->isPrimitiveType())
Out << "<unknown derived type>";