From f98aad66faf674244a9f3816b4f2106a1318a804 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 10 Feb 2007 07:06:46 +0000 Subject: [PATCH] Switch typemap over to DenseMap. No significant speedup. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34139 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Bytecode/Writer/SlotCalculator.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/Bytecode/Writer/SlotCalculator.h b/lib/Bytecode/Writer/SlotCalculator.h index 8bb87dd434a..a7722e893f0 100644 --- a/lib/Bytecode/Writer/SlotCalculator.h +++ b/lib/Bytecode/Writer/SlotCalculator.h @@ -22,7 +22,6 @@ #include "llvm/ADT/DenseMap.h" #include -#include namespace llvm { @@ -53,7 +52,7 @@ class SlotCalculator { typedef DenseMap NodeMapType; NodeMapType NodeMap; - typedef std::map TypeMapType; + typedef DenseMap TypeMapType; TypeMapType TypeMap; /// ConstantStrings - If we are indexing for a bytecode file, this keeps track