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
commitd8fdfc78fa6e85af471e6be708819ba7df013613 (patch)
tree78c9d0c03ba99fc50768ea6c36f44aeed66830aa /lib/VMCore
parentc7d0e9d24270f52cdc47b94ebaad316d4fcc2b44 (diff)
downloadexternal_llvm-d8fdfc78fa6e85af471e6be708819ba7df013613.zip
external_llvm-d8fdfc78fa6e85af471e6be708819ba7df013613.tar.gz
external_llvm-d8fdfc78fa6e85af471e6be708819ba7df013613.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);
}