diff options
author | Dan Gohman <gohman@apple.com> | 2008-06-23 21:08:32 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-06-23 21:08:32 +0000 |
commit | 4b84086e89d86fb16f562166d9fea8df37db6be7 (patch) | |
tree | 50a59b7afbd1be233377704d12c8d6d69d7e9dca | |
parent | 84701836bfb1889e2e26e361ebd5d29d972ab396 (diff) |
Use StringMap instead of std::map<std::string, SDNode*>.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52641 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/CodeGen/SelectionDAG.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/SelectionDAG.h b/include/llvm/CodeGen/SelectionDAG.h index 3bdedb7809..bd9a8957fd 100644 --- a/include/llvm/CodeGen/SelectionDAG.h +++ b/include/llvm/CodeGen/SelectionDAG.h @@ -16,6 +16,7 @@ #define LLVM_CODEGEN_SELECTIONDAG_H #include "llvm/ADT/FoldingSet.h" +#include "llvm/ADT/StringMap.h" #include "llvm/ADT/ilist.h" #include "llvm/CodeGen/SelectionDAGNodes.h" @@ -621,9 +622,9 @@ private: std::vector<SDNode*> ValueTypeNodes; std::map<MVT, SDNode*, MVT::compareRawBits> ExtendedValueTypeNodes; - std::map<std::string, SDNode*> ExternalSymbols; - std::map<std::string, SDNode*> TargetExternalSymbols; - std::map<std::string, StringSDNode*> StringNodes; + StringMap<SDNode*> ExternalSymbols; + StringMap<SDNode*> TargetExternalSymbols; + StringMap<StringSDNode*> StringNodes; }; template <> struct GraphTraits<SelectionDAG*> : public GraphTraits<SDNode*> { |