From 05aeb105dfa3b9bd9726413c78abae002a96237c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 10 Feb 2007 07:06:46 +0000 Subject: Switch typemap over to DenseMap. No significant speedup. llvm-svn: 34139 --- llvm/lib/Bytecode/Writer/SlotCalculator.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'llvm/lib/Bytecode') diff --git a/llvm/lib/Bytecode/Writer/SlotCalculator.h b/llvm/lib/Bytecode/Writer/SlotCalculator.h index 8bb87dd434a..a7722e893f0 100644 --- a/llvm/lib/Bytecode/Writer/SlotCalculator.h +++ b/llvm/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 -- cgit v1.2.3