aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2009-09-28 18:31:56 +0000
committerDevang Patel <dpatel@apple.com>2009-09-28 18:31:56 +0000
commit3168b79c1c16333d17295c44f9157c8321ec6235 (patch)
tree78c9d0c03ba99fc50768ea6c36f44aeed66830aa /lib/VMCore
parent937d2d86242339c17e77a6016b96999f439a1714 (diff)
downloadexternal_llvm-3168b79c1c16333d17295c44f9157c8321ec6235.zip
external_llvm-3168b79c1c16333d17295c44f9157c8321ec6235.tar.gz
external_llvm-3168b79c1c16333d17295c44f9157c8321ec6235.tar.bz2
Remove dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82999 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r--lib/VMCore/AsmWriter.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp
index 219fe09..62856b3 100644
--- a/lib/VMCore/AsmWriter.cpp
+++ b/lib/VMCore/AsmWriter.cpp
@@ -1267,15 +1267,11 @@ class AssemblyWriter {
AssemblyAnnotationWriter *AnnotationWriter;
std::vector<const Type*> NumberedTypes;
- // Each MDNode is assigned unique MetadataIDNo.
- std::map<const MDNode *, unsigned> 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);
}