From 59c0c1388f84179d6de0a4d11ffffa3af5424dab Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Mon, 28 Sep 2009 18:31:56 +0000 Subject: [PATCH] Remove dead code. llvm-svn: 82999 --- llvm/lib/VMCore/AsmWriter.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/llvm/lib/VMCore/AsmWriter.cpp b/llvm/lib/VMCore/AsmWriter.cpp index 219fe0974d54..62856b3aca9c 100644 --- a/llvm/lib/VMCore/AsmWriter.cpp +++ b/llvm/lib/VMCore/AsmWriter.cpp @@ -1267,15 +1267,11 @@ class AssemblyWriter { AssemblyAnnotationWriter *AnnotationWriter; std::vector NumberedTypes; - // Each MDNode is assigned unique MetadataIDNo. - std::map MDNodes; - unsigned MetadataIDNo; - public: inline AssemblyWriter(formatted_raw_ostream &o, SlotTracker &Mac, const Module *M, AssemblyAnnotationWriter *AAW) - : Out(o), Machine(Mac), TheModule(M), AnnotationWriter(AAW), MetadataIDNo(0) { + : Out(o), Machine(Mac), TheModule(M), AnnotationWriter(AAW) { AddModuleTypesToPrinter(TypePrinter, NumberedTypes, M); }