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
This commit is contained in:
Chris Lattner 2007-02-10 07:06:46 +00:00
parent 362df0d4b7
commit f98aad66fa

View File

@ -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