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

Chris Lattner lattner at cs.uiuc.edu
Wed May 14 12:52:40 PDT 2003


Changes in directory llvm/lib/VMCore:

AsmWriter.cpp updated: 1.86 -> 1.87

---
Log message:

Print opaque types


---
Diffs of the changes:

Index: llvm/lib/VMCore/AsmWriter.cpp
diff -u llvm/lib/VMCore/AsmWriter.cpp:1.86 llvm/lib/VMCore/AsmWriter.cpp:1.87
--- llvm/lib/VMCore/AsmWriter.cpp:1.86	Wed May  7 21:44:12 2003
+++ llvm/lib/VMCore/AsmWriter.cpp	Wed May 14 12:50:47 2003
@@ -153,6 +153,9 @@
     Result += calcTypeName(ATy->getElementType(), TypeStack, TypeNames) + "]";
     break;
   }
+  case Type::OpaqueTyID:
+    Result = "opaque";
+    break;
   default:
     Result = "<unrecognized-type>";
   }





More information about the llvm-commits mailing list