projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
362df0d
)
Switch typemap over to DenseMap. No significant speedup.
author
Chris Lattner
<sabre@nondot.org>
Sat, 10 Feb 2007 07:06:46 +0000
(07:06 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 10 Feb 2007 07:06:46 +0000
(07:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34139
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Bytecode/Writer/SlotCalculator.h
patch
|
blob
|
history
diff --git
a/lib/Bytecode/Writer/SlotCalculator.h
b/lib/Bytecode/Writer/SlotCalculator.h
index 8bb87dd434aa62268f1289ba69f8241d98aa5eab..a7722e893f0faa2c95cfc8ad04119a65fd357f10 100644
(file)
--- 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::m
ap<const Type*, unsigned> TypeMapType;
+ typedef
DenseM
ap<const Type*, unsigned> TypeMapType;
TypeMapType TypeMap;
/// ConstantStrings - If we are indexing for a bytecode file, this keeps track