When you hand WriteAsOperand a type, it now prints out its symbolic name.

llvm-svn: 10042
diff --git a/llvm/lib/VMCore/AsmWriter.cpp b/llvm/lib/VMCore/AsmWriter.cpp
index da38260..f92fe25 100644
--- a/llvm/lib/VMCore/AsmWriter.cpp
+++ b/llvm/lib/VMCore/AsmWriter.cpp
@@ -458,6 +458,9 @@
   if (PrintType)
     printTypeInt(Out, V->getType(), TypeNames);
   
+  if (const Type *Ty = dyn_cast<Type> (V))
+    printTypeInt(Out, Ty, TypeNames);
+
   WriteAsOperandInternal(Out, V, PrintName, TypeNames, 0);
   return Out;
 }