[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

Chris Lattner lattner at cs.uiuc.edu
Sat May 31 22:47:01 PDT 2003


Changes in directory llvm/lib/VMCore:

AsmWriter.cpp updated: 1.87 -> 1.88

---
Log message:

Don't print out unique identifier for opaque types


---
Diffs of the changes:

Index: llvm/lib/VMCore/AsmWriter.cpp
diff -u llvm/lib/VMCore/AsmWriter.cpp:1.87 llvm/lib/VMCore/AsmWriter.cpp:1.88
--- llvm/lib/VMCore/AsmWriter.cpp:1.87	Wed May 14 12:50:47 2003
+++ llvm/lib/VMCore/AsmWriter.cpp	Sat May 31 22:45:51 2003
@@ -504,7 +504,7 @@
     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>";





More information about the llvm-commits mailing list