From: Chris Lattner Date: Sun, 1 Jun 2003 03:45:51 +0000 (+0000) Subject: Don't print out unique identifier for opaque types X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=26c6915539bbe3393450ece5d82d7d9ea546d417;p=oota-llvm.git 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 --- diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp index 7c58e63275a..7695fcb7500 100644 --- a/lib/VMCore/AsmWriter.cpp +++ b/lib/VMCore/AsmWriter.cpp @@ -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(Ty)) { - Out << OTy->getDescription(); + Out << "opaque"; } else { if (!Ty->isPrimitiveType()) Out << "";