diff options
Diffstat (limited to 'lib/Bytecode')
-rw-r--r-- | lib/Bytecode/Writer/SlotCalculator.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Bytecode/Writer/SlotCalculator.h b/lib/Bytecode/Writer/SlotCalculator.h index 8bb87dd434..a7722e893f 100644 --- a/lib/Bytecode/Writer/SlotCalculator.h +++ b/lib/Bytecode/Writer/SlotCalculator.h @@ -22,7 +22,6 @@ #include "llvm/ADT/DenseMap.h" #include <vector> -#include <map> namespace llvm { @@ -53,7 +52,7 @@ class SlotCalculator { typedef DenseMap<const Value*, unsigned> NodeMapType; NodeMapType NodeMap; - typedef std::map<const Type*, unsigned> TypeMapType; + typedef DenseMap<const Type*, unsigned> TypeMapType; TypeMapType TypeMap; /// ConstantStrings - If we are indexing for a bytecode file, this keeps track |