summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Support/Mangler.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Support/Mangler.h b/include/llvm/Support/Mangler.h
index 39ac26dd1b..0a7b33a232 100644
--- a/include/llvm/Support/Mangler.h
+++ b/include/llvm/Support/Mangler.h
@@ -14,6 +14,7 @@
#ifndef LLVM_SUPPORT_MANGLER_H
#define LLVM_SUPPORT_MANGLER_H
+#include "llvm/ADT/DenseMap.h"
#include <map>
#include <set>
#include <string>
@@ -40,7 +41,7 @@ class Mangler {
/// Memo - This is used to remember the name that we assign a value.
///
- std::map<const Value*, std::string> Memo;
+ DenseMap<const Value*, std::string> Memo;
/// Count - This simple counter is used to unique value names.
///