summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-06-01 03:45:51 +0000
committerChris Lattner <sabre@nondot.org>2003-06-01 03:45:51 +0000
commit39adbfca5bf3e9def77137b5758756d22c9f043c (patch)
treeb3e4859330b7cd822ba33835f5e5e80d7d314891 /llvm/lib
parent4536fcd57b88828065e312c02f0fd2cd5e5f6b7a (diff)
downloadbcm5719-llvm-39adbfca5bf3e9def77137b5758756d22c9f043c.tar.gz
bcm5719-llvm-39adbfca5bf3e9def77137b5758756d22c9f043c.zip
Don't print out unique identifier for opaque types
llvm-svn: 6511
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/VMCore/AsmWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/AsmWriter.cpp b/llvm/lib/VMCore/AsmWriter.cpp
index 7c58e63275a..7695fcb7500 100644
--- a/llvm/lib/VMCore/AsmWriter.cpp
+++ b/llvm/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<OpaqueType>(Ty)) {
- Out << OTy->getDescription();
+ Out << "opaque";
} else {
if (!Ty->isPrimitiveType())
Out << "<unknown derived type>";
OpenPOWER on IntegriCloud