mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-01 18:33:56 +00:00
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:
parent
362df0d4b7
commit
f98aad66fa
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user