From: Chris Lattner Date: Sat, 10 Feb 2007 07:06:46 +0000 (+0000) Subject: Switch typemap over to DenseMap. No significant speedup. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f98aad66faf674244a9f3816b4f2106a1318a804;p=oota-llvm.git 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 --- 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