]> granicus.if.org Git - llvm/commitdiff
Don't print out unique identifier for opaque types
authorChris Lattner <sabre@nondot.org>
Sun, 1 Jun 2003 03:45:51 +0000 (03:45 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 1 Jun 2003 03:45:51 +0000 (03:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6511 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/AsmWriter.cpp

index 7c58e63275a69d4838345d6c77527577f0b236c7..7695fcb7500b7f4152e004fbaafe9ff2561044e0 100644 (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>";